Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I hope someone can help, cause sometimes propagation and filter context is difficult.
Regards
Ron
Solved! Go to Solution.
Here's the measure that works:
Hi @Padycosmos thanx for you answer
I changed the measure as follows (by the way I replaced Amber by Purple, because for Amber it returs Blue, which seems odd)
You have >=_differ in "Purple" and <= _differ in "Red", you need to remove one of the = . Then it should work
Hi @Padycosmos
unfortunately no change
I changed
Could you please move "red" as the first statement, "purple" as the second and "green" as the last and try again?
Hope this works
Color =
var _differ = 1 - [KPI perc]
RETURN
SWITCH(
TRUE(),
[Check Against Target] >= 1, "Green",
[Check Against Target] >= _differ && [Check Against Target] < 1, "Purple",
[Check Against Target] < _differ && [Check Against Target] < 1, "Red"
)
If the data is not sensitive, could you please share the pbix file?
Hi @Padycosmos
I can share the pbix file. Looking how to do that, but can't find it. How do I attach a pbix to a reply?
Here's the measure that works:
You can put the file in your google drive and paste the link here. Please note to enable access to th file for anyone with the link
Hmm, ok , never used google drive. Will try later today. I can also send it personally if I have your email
You may send it to padycosmos@gmail.com
In Power BI, though the display format is %, the numbers are stored as decimals. Please make the following changes and try again
var _differ = 1- [KPI perc]
Replace both the 100s in the SWITCH() to 1
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |