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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard