cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Filter choice data type column

Hi All,

 

I have a column in CDS of choice data type and in powerapps I want to filter record based on that column.
I have values like- A,B etc
for instance- Filter(datasource, choicecolumnName="A")

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Anonymous,

Do you want to filter the Choice column in Dataverse?

I think you have something syntax wrong with the formula,please try as below

Filter(DataSource, choicecolumnName= 'choicecolumnName(DataSource)'.A)

Or

Filter(DataSource, choicecolumnName= [@choicecolumnName].A)

Hope it could help.

Regards,

Qi

Best Regards,
Qi

View solution in original post

2 REPLIES 2
Drrickryp
Super User II
Super User II

- Filter(datasource, choicecolumnName.Value="A")

v-qiaqi-msft
Community Support
Community Support

Hi @Anonymous,

Do you want to filter the Choice column in Dataverse?

I think you have something syntax wrong with the formula,please try as below

Filter(DataSource, choicecolumnName= 'choicecolumnName(DataSource)'.A)

Or

Filter(DataSource, choicecolumnName= [@choicecolumnName].A)

Hope it could help.

Regards,

Qi

Best Regards,
Qi

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,402)