Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have this issue with using the Card visualization as a stop sign in Power BI. I have 2 measures, one with a condition that says
Stop sign 1 = SWITCH(TRUE(), CALCULATE (DISTINCTCOUNT('Sign'[Sign Name]), FILTER('Sign', CONTAINSROW({IF([NBV Difference less CT] < 0, "Red", "Green")}, 'Sign'[Sign Name])))=1,1,0)
The second one is another condition that says Stop sign 2 = IF([NBV Difference less CT] < 0, "INVESTIGATE", "REVIEW")
The Sign table has two rows and two columns, each with a website link to a color, red or green. Refer to photo for reference.
I am getting inconsistent color and word (it should be green color and the word "REVIEW" but I am getting green and "INVESTIGATE", vice versa)
in the card visual that I create but I can't seem to find any issue with the formula. Anyone has encountered this before?
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |