Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi Everyone,
Please look into the issue i have been facing below and help:
I have two tables with data as follows:
I have created a mesaure which calculates Total consumption by month so that i can put it in "Tooltips" of Stacked column chart to show totals across month.
Below is the dax used:
TotalByMOnth = SUMX(SUMMARIZE('Month','Month'[MONTH],"Total", CALCULATE(SUM(ConsumptionFact[Consumption]))),[Total])
I am not able to get desired result. Can anyone suggest any fix in the DAX used?
Solved! Go to Solution.
Hi @Anonymous,
Thanks for trying buddy. It did not give the desired result though.
I found the hint of solution by using Quick Measures option. The requried DAX is
TotalByMonth = CALCULATE(SUM('ConsumptionFact'[Consumption]), ALLSELECTED(ConsumptionFact[Meter]))
Would this work for you?
TotalByMOnth = TOTALMTD( SUM(ConsumptionFact[Consumption]), ConsumptionFact[Dates] )
Hi @Anonymous,
Thanks for trying buddy. It did not give the desired result though.
I found the hint of solution by using Quick Measures option. The requried DAX is
TotalByMonth = CALCULATE(SUM('ConsumptionFact'[Consumption]), ALLSELECTED(ConsumptionFact[Meter]))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
102 | |
71 | |
64 | |
39 |