Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Actual Units | Ceiling Vol |
2 | 500 |
3 | 600 |
0 | 100 |
0 | 200 |
5 | 600 |
Solved! Go to Solution.
Simple enough
Actual Unit Utilization =
CALCULATE(
SUM( Table1[Actual Units] ) / SUM( Table1[Ceiling Vol] ) * 100,
Table1[Actual Units] <> 0
)
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi,
Try these measures
A_units = sum(Table[Actual units])
C_Vol = calculate(sum(Table[Ceiling vol]),Table[Actual units]<>0)
Measure = divide([A_units],[C_Vol])
Format Measure as a %.
Simple enough
Actual Unit Utilization =
CALCULATE(
SUM( Table1[Actual Units] ) / SUM( Table1[Ceiling Vol] ) * 100,
Table1[Actual Units] <> 0
)
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi @Anonymous
Try this
Measure_ =
VAR auxT_ = FILTER ( Table1, Table1[Actual Units] > 0 )
RETURN
100 * DIVIDE ( SUMX ( auxT_, [Actual Units] ), SUMX ( auxT_, Table1[Ceiling Vol] ) )
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |