The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
83 | |
82 | |
34 | |
33 | |
32 |
User | Count |
---|---|
93 | |
79 | |
62 | |
54 | |
51 |