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.
Hello All,
I was trying to get Yearly GRAND TOTAL in to a measure,
But still I couldn't get what I am looking for.
I need yearly Grand Total in measure for example selected year = 2020, then grand total measure should show 548,125. Measure is giving sum of entire data for that column.
Regards,
Sonu
Solved! Go to Solution.
Hi @sonuojha1 ,
Modify the measure as below.
Yrly Grand Total = CALCULATE(sum('Fact - Data'[VALUE1]),FILTER(ALL('Dim - Date'),'Dim - Date'[Date].[Year] in VALUES('Dim - Date'[Date].[Year])))
Result would be shown as below.
Best Regards,
Jay
Hi,
Ensure that:
=calculate([measure],allexcept('dim - date','dim - date'[year]))
If this does not help, then share the link from where i can download your PBI file.
Thanks for reply Ashish,
Yes offcourse, I have a join with my date dimension. May be you couldn't understand my query.
Whatever the grand total I am getting that is giving me entire data grand total. However I am looking for Yearly subtotal in a measure.
https://drive.google.com/file/d/1ihvtkKfZGGqZtCzKlEqMtJy2zZtSlvxP/view?usp=sharing
Hi @sonuojha1 ,
Modify the measure as below.
Yrly Grand Total = CALCULATE(sum('Fact - Data'[VALUE1]),FILTER(ALL('Dim - Date'),'Dim - Date'[Date].[Year] in VALUES('Dim - Date'[Date].[Year])))
Result would be shown as below.
Best Regards,
Jay
Hi,
Download the PBI file from here.
Hope this helps.
@sonuojha1 - 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
User | Count |
---|---|
77 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
102 | |
93 | |
83 | |
64 |