web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Filtering

(1) ShareShare
ReportReport
Posted on by 38
Hello
 
I'd like to filter the 'Risk Register' table (SP list) to only include rows where the 'Risk Reporting Level' is "Level 1" and the 'Risk Status' is "Open", and then extract distinct values from the 'Title' column shown in my dropdown. 
 
Note, the 'Risk Reporting Level' and 'Risk Status' columns are choice type columns.
 
Here is my formula:
 
Distinct(Filter('Risk Register', 'Risk Reporting Level'= "Level 1" && 'Risk Status'= "Open"),Title), {Result: ThisRecord.Value}),Result)
 
The errors in the expression are due to attempting to compare a record type ('Risk Reporting Level' and 'Risk Status') with a text type (StringLiteral("Level 1 - Corporate") and StringLiteral("Open")). This is causing the unexpected characters and incompatible types errors.
 
Any help on how to correct it is hugely appreciated.
 
Thank you
EJ
Categories:
I have the same question (0)
  • Kalel_Lucas Profile Picture
    165 on at
    Hello EJ,
     
    Because those columns of yours are Choice type columns, if you want to use them to compare with String/Text types, you need to add ".Value" at the end.
    So in your situation, you need to utilize:
    Distinct(Filter('Risk Register', 'Risk Reporting Level'.Value= "Level 1" && 'Risk Status'.Value= "Open"),Title), {Result: ThisRecord.Value}),Result)
    Hope it helps,
    Kalel
  • EJ_271 Profile Picture
    38 on at
    Thank you Kalel
     
    I was adding the ".Value" in the wrong place. 

    Best regards
    EJ
     
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard