Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

TOTAL not working

Hi Everyone, Total is not working for my Last Year measure.I've attached snip for the reference. Individual values are correct but in Totals the value is wrong.   Sales LY Week = VAR LY =Ca...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

    How did you set your matrix visual? Could you please share the Fields setting? You can create another new measure as below and put this new measure to replace the original measure [Sales LY Week] onto the matrix visual. Later check if it can return the correct total values...

    New Measure =
    SUMX (
        GROUPBY (
            'Table',
            'Table'[Region],  //The field from Rows field of your matrix
            'Table'[fieldname],//The field from Rows field of your matrix
            'Table'[Category] //The field from Rows field of your matrix
        ),
        [Sales LY Week]
    )

    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, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

    How to provide sample data in the Power BI Forum

    How to Get Your Question Answered Quickly

    And 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