Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
Have a scorecard with below which a matrix and below conditional formatting set based on a calculated measure
would want to calculate the % of kpis achieved
e.g on figure 2 third row 8 kpis but only 6 passed thus would want to show 75%
how best can this be achieved - don't have option of sum(<calculated measure)
As can see below even if try display the total of the column not working.
At row level o.k in that sets flag value (fail, average, pass) correctly
figure1
figure2
@po ,
You may refer to the following post.
https://community.powerbi.com/t5/Desktop/Need-count-for-matrix-non-zero-values/m-p/406361#M186090
Thanks for suggestion.
got below working
this shows level 100% below as no reds or yellows.
However, what if we wanted to count the number of fails in the region i.e the ones which are highlighted in yellow or red below. How could this be achieved?
The red or yellow setting is determined by kpi_flag which is a calculated measure and cannot do a simple sum on calculated measure.
KPI Flag =
SWITCH(
TRUE(),
MAX(Targets[KPI Unit]) = "£",
SWITCH(TRUE(),
[KPI Currency Value] > [KPI Currency Target Max],-1,
[KPI Currency Value] <= [KPI Currency Target Max] &&
[KPI Currency Value] > [KPI Currency Target Min],0,1),
MAX(Targets[KPI Unit]) = "%" ,
SWITCH(TRUE(),
[KPI Percentage Value] < [KPI Percentage Target Max],-1,
[KPI Percentage Value] >= [KPI Percentage Target Max] &&
[KPI Percentage Value] < [KPI Percentage Target Min],0,1),
MAX(Targets[KPI Unit]) = "#",
SWITCH(TRUE(),
[KPI Score Value] > [KPI Score Target Max],-1,
[KPI Score Value] <= [KPI Score Target Max] &&
[KPI Score Value] > [KPI Score Target Min],0,1),
-2
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |