Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi guys,
Table visualization showing the wrong total, please anybody suggest me how to resolve this one.
Total Sales = SUM(financials[ Sales])
Rank Selection = IF(SELECTEDVALUE('Rank'[Rank No]), VALUES('Rank'[Rank No]),"Please select any rank")
Rankx = IF(HASONEVALUE(financials[Month Name]),RANKX(ALL(financials[Month Name]),[Total Sales],,DESC),BLANK())
Sale = IF([Rankx] <= [Rank Selection],[Total Sales],BLANK())
regards,
Naveen
Solved! Go to Solution.
hi Guys
I changed the final measure it's working
Sale = SUMX(VALUES(financials[Month Name]),IF([Rankx] <= [Rank Selection],[Total Sales],BLANK()))
@Anonymous ,
You need to take care of the row context. Summarize or Values should help
Example
sumX(summarize(financials,financials[Month Name], "_sum",IF([Rankx] <= [Rank Selection],[Total Sales],BLANK())),[_sum])
Refer
hi Guys
I changed the final measure it's working
Sale = SUMX(VALUES(financials[Month Name]),IF([Rankx] <= [Rank Selection],[Total Sales],BLANK()))
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
60 | |
55 |
User | Count |
---|---|
179 | |
108 | |
105 | |
71 | |
70 |