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.
Dear Power BI Community
I am at a loss at the moment.
Following problem:
Let's assume following tabel:
We have diffrent Checks (A, B, C, D...) - to reduce complexity, we only talk about a and b
Done is (0,1) weather the check is done
Planed is always (1)
A summarised table shows the following:
Check A has 4 "Done" of 12 "Planed"
Check B has 2 "Done" of 10"Planed"
means we have an achievement level of 6 out of 22
NOW to the main problem:
Le'ts assume we want to adjust the plan downwards like this for Check "A"
I did this by following measures:
Plan_Adjust =
If it's just one Check selected i works as expected
But when both Checks are selected we get the MIN (6) instead of the SUM (16)
I know there's a problem using the "MIN"-Statement in the measure, but i dont find any alternative.
Any ideas how to solve the problem?
Thank you very much for your contribution
Cheers
qwertzuiop
Solved! Go to Solution.
Hi @qwertzuiop
please try
Plan_Adjust =
SUMX (
VALUES ( table1[Check] ),
CALCULATE (
VAR NormalValue =
SUM ( table1[Planed] )
VAR AdjustedValue = NormalValue / 2
RETURN
IF ( MIN ( 'table1'[Check] ) = "A", AdjustedValue, NormalValue )
)
)
Hi @qwertzuiop
please try
Plan_Adjust =
SUMX (
VALUES ( table1[Check] ),
CALCULATE (
VAR NormalValue =
SUM ( table1[Planed] )
VAR AdjustedValue = NormalValue / 2
RETURN
IF ( MIN ( 'table1'[Check] ) = "A", AdjustedValue, NormalValue )
)
)
@qwertzuiop , Try a measure like
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
96 | |
84 | |
43 | |
40 | |
35 |