Forum Discussion
The8
2 years agoHelper II
Table Total Incorrect with Measure A using in New Measure
Hi, I have loaded data into power BI from excel and I have created relationship betweeen tables using currency column. Sheet 1 Sheet 2 Now I have following measures Final Price...
- 2 years ago
Hi,
PBI file attached.
Hope this helps.
Greg_Deckler
2 years agoCommunity Champion
The8 See PBIX attached below signature.
The8
2 years agoHelper II
Hello Greg_Deckler
Is that possible even when I take material into a table or matrix in my case?
Thanks !!
- Greg_Deckler2 years agoCommunity Champion
The8 I don't think that you are taking the time to read up on this issue, particular the second link I posted that goes through the issue in detail and how to fix it. If you include additional columns in your table visual, you have to add those columns to your SUMMARIZE like this:
Final Price Total = VAR __Table = SUMMARIZE( 'Sheet1', [Date],[Material], "__Value", [Final Price in €]) VAR __Result = IF(HASONEVALUE(Sheet1[Date]), [Final Price in €], SUMX(__Table, [__Value])) RETURN __Result- The82 years agoHelper II
Hi Greg_Deckler
I have gone through your posts and I have also tried DAX with material but I got error even though.Modified Measure I used is
"
Net Price Total =VAR __Table = SUMMARIZE( 'Sheet1', [Date],[Material], "__Value", [Net Price])VAR __Result = IF(HASONEVALUE(Sheet1[Date]), [Net price], SUMX(__Table, [__Value]))RETURN- Greg_Deckler2 years agoCommunity Champion
The8 Actually the relationship direction needed to be both and not single direction and that was throwing the numbers off. See updated file.