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.
I'm having a brain fart and can't figure out how to create a measure to count the months over a target.
Measure that shows %:
2022 Margin % =
DIVIDE(
[2022 Total Amount Converted] - [2022 Total Costs], [2022 Total Amount Converted]
)
I'd like to create a measure that counts months that are over 50% (.5).
Solved! Go to Solution.
You can use a var for your DIVIDE calculation and return if > 0.5.
Something like:
2022 Margin % =
var counts = DIVIDE(
[2022 Total Amount Converted] - [2022 Total Costs], [2022 Total Amount Converted]
)
return IF(counts > 0.5, counts, BLANK())
You can use a var for your DIVIDE calculation and return if > 0.5.
Something like:
2022 Margin % =
var counts = DIVIDE(
[2022 Total Amount Converted] - [2022 Total Costs], [2022 Total Amount Converted]
)
return IF(counts > 0.5, counts, BLANK())
Thank you, very helpful!
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 |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |