Forum Discussion
Sum Total is not correct
- Anonymous3 years ago
Hi @tomsmith213 ,
You can create another new measure as below and put this new measure to replace the original measure [Calculation] onto the table visual...
New Measure = SUMX ( GROUPBY ( 'V_INV_MSTR', 'V_INV_MSTR'[Year], 'V_INV_MSTR'[Month], 'V_INV_MSTR'[Day], 'V_INV_MSTR'[Shift], 'V_INV_MSTR'[Part Number], 'V_INV_MSTR'[Loc] ), [Calculation] )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 ones can't help you get the desired result, please provide some sample data in your tables(exclude sensitive data) with Text format, the visual Fields settings 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
Hi @tomsmith213 ,
You can create another new measure as below and put this new measure to replace the original measure [Calculation] onto the table visual...
New Measure =
SUMX (
GROUPBY (
'V_INV_MSTR',
'V_INV_MSTR'[Year],
'V_INV_MSTR'[Month],
'V_INV_MSTR'[Day],
'V_INV_MSTR'[Shift],
'V_INV_MSTR'[Part Number],
'V_INV_MSTR'[Loc]
),
[Calculation]
)
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 ones can't help you get the desired result, please provide some sample data in your tables(exclude sensitive data) with Text format, the visual Fields settings 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
Anonymous and Greg_Deckler
Thank you so much for the information, unfortunately I cant seem to get that to work. I have two different tables that I am pulling data from. I have included screen shots of what data I am pulling from each table. One is WIP_DTL_HIST and the other is INV_MSTR. I am not sure how to break down the date information asw it is all one in the table .