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.
Hi Community,
I need some help to resolve an issue i have been facing or trying to understand and fix it. I have columns like MonthYear , Forecast 2021(% value) , Forecast 2021 Nr(numerator) , Total Count of rows ( Denominator) . Month year is a calculated column created using some format function from date . Rest of the 3 are measures created .
I have also added DAX codes for reference :
Actual Output :
My expectation is for May 2021 , Numerator value should be 391 and should be divided by 28852(total count of rows) . However, Numerator and Denominator are same (391) and when are divided , its showing 100% . I am expecting it to be
- 391/28852 = 1.36%
I am not sure how to change the Denominator part to work as i am expecting. Below shown is the expected ouput .
Expected output :
Please Assist !!
Solved! Go to Solution.
Hey Vijay,
This is awesome . It is working as expected . 🙂
However, i would like to understand how you have re written the DAX measure with such ease in less time . could you please guide me on how we can measures like that ?
@Anonymous I suggest to create a Datedim
use this function
1 .CALCULATE(
COUNT('Mainframe Turndown'[PROCESSNAME]),
FILTER(ALLSELECTED(DateDim), DateDim[Date]="Desired Date")
2. Calculate(COUNT('Mainframe Turndown'[PROCESSNAME]),
All(FACT Table))
3. DIVIDE(First Measure, Second Measure,0)
Please do let me know if it works!
Proud to be a Super User!
Hey Vijay,
This is awesome . It is working as expected . 🙂
However, i would like to understand how you have re written the DAX measure with such ease in less time . could you please guide me on how we can measures like that ?
@Anonymous Practice with Logic and understanding Data and Final Outcome!
Proud to be a Super User!
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |