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.
x, y and z are measures.
Z = if (x > 50%, y, 0)
Instead of the IF statement being applied to the total, I want to sum column Z.
Any advice on where to start?
Solved! Go to Solution.
Z=
SUMX (
VALUES ( your slicing by column ), CALCULATE ( IF ( [X] > 0.5, [Y], 0 ) )
)
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |