Forum Discussion
How to remove full table aggregation from a calculation for percentage
Using the Percent Measure Sean gave me yesterday as well as the Percent column, it is averaging in the measure but it is summing the column. I removed aggregation from the ones that I could and this is what it shows me. I am having a hard time filtering down to just that row of data so the PMPMP would be PMPM*1 for January and for February it would be PMPM *1.27.
This is my Percent Column calc
PercentColumn = CALCULATE(SUM(TrendCalcs[MonthDays])/sum(TrendCalcs[DataDay]),ALLEXCEPT(TrendCalcs,TrendCalcs[FirstDateC]))
I think I might have it. I have been scouring msdns Dax library and tried this:
Trended PMPM = CALCULATE('Members Claims'[PMPM]) * [Percent Measure](FILTER(TrendCalcs,[FirstDate]))
and I think it is doing what I want it to do. Fingers crossed!
- Anonymous9 years agoNot applicable
Hi shelbsassy
Please find attached the modified pbix file.
https://1drv.ms/u/s!ApP3mBZyGaHfzxy447kb0wpU5XJI
Check the calendar table.
And the change in the Trended table.
Cheers
CheenuSing