Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Totals in table (matrix)

Hi,   The problem that I have is that the totals in a matrix do not count up correctly in the totals. Other values are correct. With some demo-data I have these values.  As you can see there...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi  Anonymous,

    You can create another new measure as below and put this new measure to replace the original measure onto the matrix visual...

    Measure =
    SUMX (
        GROUPBY ( 'Table', 'Table'[level1field], 'Table'[level2field] ),
        [Original measure]
    )

    In addition, you can refer the following links to try to solve your problem...

    Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

    Dax for Power BI: Fixing Incorrect Measure Totals

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

    Best Regards