March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hey Power BI Wizard,
I have met the total error in my power bi, and I scratched out my head still couldnt solve it. For context: I have a forecast and actual sales dataset for my power bi, and I wish to dynamically calculated the leftover target to achieve in power bi pivot table.
Here is my dax:
Solved! Go to Solution.
Hi @TanHY
The most likely cuplrit is you conditional formula after RETURN. MAX ('Date'[Date]) is evaluated differently at each hierarchy level. Try in a new measure:
SUMX (
SUMMARIZECOLUMNS (
'table'[Category],
'table'[Subcategory],
"@Development", [Development ]
),
[@Development]
)
Change category and subcategory to the actual row columns in your matrix.
Proud to be a Super User!
Hi @TanHY
The most likely cuplrit is you conditional formula after RETURN. MAX ('Date'[Date]) is evaluated differently at each hierarchy level. Try in a new measure:
SUMX (
SUMMARIZECOLUMNS (
'table'[Category],
'table'[Subcategory],
"@Development", [Development ]
),
[@Development]
)
Change category and subcategory to the actual row columns in your matrix.
Proud to be a Super User!
Hi,
Thanks. its work!!
Please accept my post as the solution. Thanks!
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
146 | |
97 | |
79 | |
69 |