Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, Quick need have two measures. Measure A and Measure B. Want to write an if statement that if table[status]="PR" then Measure A else Measure B. Status has only has 3 distinct values in million row data set. So in theory for my measure.
TimelyMeausre=if(table[status]="PR",MeasureA, MeasureB)
Any help?
Solved! Go to Solution.
Hi,
Does this measure work?
TimelyMeausre=if(max(table[status])="PR",MeasureA, MeasureB)
@billuran , Try a measure like
TimelyMeausre=sumx(values(table[status]) , if(max(table[status])="PR",[MeasureA],[MeasureB]))
check
TimelyMeausre=if(max(table[status])="PR",[MeasureA],[MeasureB])
Hi,
Does this measure work?
TimelyMeausre=if(max(table[status])="PR",MeasureA, MeasureB)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
116 | |
102 | |
78 | |
76 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |