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 a status table(manulaly created) as below which has extra value "Review" which is not avalaible in actual data table but have all other values.
STATUS TABLE
Status Rank
Send | 1 |
Investigation | 2 |
Review | 3 |
Approval | 4 |
Closed | 5 |
Cancelled | 6 |
TABLE (has below status column but with lots of duplicate values)
Closed
Cancelled
Approval
Send
Investigation
I am using this status column from status table as a slicer in my visual page. This slicer and my actual data from table have 1-many relationship
I want to create a measure which shows dynamic text "There are no Emergency Messages in the (selected value) workflow Stage" if status value is not avaialble in table but available in Status table. message should pop only when non matching status is selected individually or with other values. (it should be dynamic as per selection)
I created below formula
Solved! Go to Solution.
Hi @snaraya ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
test = IF(CONCATENATEX(EXCEPT(VALUES('STATUS'[Status]),ALLSELECTED('Table'[Status])),[Status]," ")<>BLANK(),"There are no Emergency Messages in" & " "&CONCATENATEX(EXCEPT(VALUES('STATUS'[Status]),ALLSELECTED('Table'[Status])),[Status]," ")& " "& "workflow stage","")
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Thankyou so much. Worked perfectly fine.😊
Hi @snaraya ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
test = IF(CONCATENATEX(EXCEPT(VALUES('STATUS'[Status]),ALLSELECTED('Table'[Status])),[Status]," ")<>BLANK(),"There are no Emergency Messages in" & " "&CONCATENATEX(EXCEPT(VALUES('STATUS'[Status]),ALLSELECTED('Table'[Status])),[Status]," ")& " "& "workflow stage","")
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |