Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi experts
I have an issue with showing a sum of a DAX measure in my report. both Amount and Amount2 are having wrong sum. I have tried the HASONFILTER also. I have also attached the file
https://drive.google.com/open?id=1gKtIemAIyYc8jBtZ4fWPdxXhzMEqj3vL
Any help is highly appreciated. Thanks
Solved! Go to Solution.
Hi @Anonymous
Try this MEASURE which references [Amount] Measure
Amount_ = IF ( HASONEFILTER ( 'Append'[Company] ), [Amount], SUMX ( SUMMARIZE ( ALLSELECTED ( 'Append' ), 'Append'[Company], 'Append'[CompCode], 'Append'[ToCompany], 'Append'[ToCompCode] ), [Amount] ) )
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Hi @Anonymous
Try this MEASURE which references [Amount] Measure
Amount_ = IF ( HASONEFILTER ( 'Append'[Company] ), [Amount], SUMX ( SUMMARIZE ( ALLSELECTED ( 'Append' ), 'Append'[Company], 'Append'[CompCode], 'Append'[ToCompany], 'Append'[ToCompCode] ), [Amount] ) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |