Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have created a table visual to show a list of items that do not have a valid status. I have a list of valid statuses (A, D, N, S, O, and more) and want to show any item with anything other than the valid ones. On the visual advanced filtering, I can only have 2 (status is not A or status is not D).
Any help would be appreciated!
Solved! Go to Solution.
Hi @Anonymous,
You need an extra table (suppose it's 'ValidStatus') to list all valid statuses.
Create such a measure:
Measure = IF ( ISERROR ( FIND ( SELECTEDVALUE ( DataTable[Status] ), CONCATENATEX ( ValidStatus, ValidStatus[ValidStatus], "," ) ) ), 0, 1 )
Add this measure to visual level filters and set its value to 1.
Best regards,
Yuliana Gu
Hi @Anonymous,
You need an extra table (suppose it's 'ValidStatus') to list all valid statuses.
Create such a measure:
Measure = IF ( ISERROR ( FIND ( SELECTEDVALUE ( DataTable[Status] ), CONCATENATEX ( ValidStatus, ValidStatus[ValidStatus], "," ) ) ), 0, 1 )
Add this measure to visual level filters and set its value to 1.
Best regards,
Yuliana Gu
Thanks Yuliana. I decided to create an additional column with a switch statement for each valid value and setting to 1 if valid or 0 if not. Then I could key off this column for my visual.
@Anonymous Any sample data and expected output will be helpful.
Proud to be a PBI Community Champion
Thank you for replying quickly.
Here's a sample of my data:
ItmNbr Status
123 A
456 D
789 X
Both A & D are valid statues. I would like to show in my report:
ItmNbr Status
789 X
There is currently no table with valid status. Would it be beneficial to make one?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
62 | |
46 | |
45 |