Need help : DAX Measure - Expected output vs Actual output
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 :
Forecast 2021 Nr = CALCULATE(COUNT('Mainframe Turndown'[PROCESSNAME]),FILTER('Mainframe Turndown','Mainframe Turndown'[Turndown PeriodForecast]="5/1/2021"))
Total Count of rows = CALCULATE(COUNT('Mainframe Turndown'[PROCESSNAME]),FILTER('Mainframe Turndown',NOT(ISBLANK('Mainframe Turndown'[PROCESSNAME]))))
Forecast 2021 = [Forecast 2021 Nr]/[Total Count of rows]
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 .