Forum Discussion
Percentage total in table using direct query to cube wrong
The Total line is essentially using DAX behind the scenses to aggregate the column. I would suggest that if it is not aggregating it the way you want to create a measure to do it the way you want.
and the problem is that i already thought i did and it works in excel - i would have to try to make a different type of calculation in mdx where its already correct.
at this point no clue how but ill look more into it.
- Anonymous8 years agoNot applicable
HI mivar99,
I think this issue may related to different filter logic/calculation on matrix and pivot table side.
As smoupre said, sometimes you need to add filters and additional calculation formula in your measure to make sure the formulas get correct result on 'total' row.
For any detail about internal formula calculation process, you can try to contact to power bi dev team for further support.
Regards.
Xiaoxin Sheng
- mivar998 years agoHelper I
hI !
As i see it its a DAX to MDX powerbi problem
Its a super simple straight forward percetntage calculation that works ok in excel that uses "normal" mdx to query the cube
I am sure other mdx front end tools would show the same
But i will see if the mdx formula can be changed to something that also works in powerbi
[Measures].[Disbursement (DKK)]/([Budget].[Indicatorstatus].[All],[Measures].[Disbursement (DKK)])
/m