Forum Discussion
Incorrect total displayed
- Anonymous3 years ago
It works now. I replaced the: SUM(CirculationFact[Count_Checkout]) with [Loans] measure in the SUMX and now it's ok.
Now the correct measure is:
NEW_LOANS = SUMX(SUMMARIZE(BibliographicSubjectDim,BibliographicSubjectDim[Name]), [Loans])Thank you for you help.
Can someone explain me why does a simple SUM not work?
Is it somehow implacable that I have that bridge table in the data model?
Here I attached the pbix file: https://files.fm/f/emwb7m5fy
- Anonymous3 years agoNot applicable
Hi Anonymous ,
According to your data model, I know that "BibliographicSubjectDim" and "CirculationFact" tables are not connected directly, and both tables are many side in their relationship. So in your SUM calculation you will get wrong subtotal. You need to use SUMX() to sum the measure based on the column in "BibliographicSubjectDim".
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.