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
Hi, Does anyone know how to override totals with calculation groups created in tabular editor?
My total line for Sales and Weighted Average Cost are fine.
However, since the target cost is set by policy, I need to override the total for Target Cost (since it is not a sum, average, median, max..etc).
The target cost for each customer is the same # every month and will not change. Just like the total target cost. The goal is to compare the weighted average cost versus target cost.
Thanks a million!
Lisa
Solved! Go to Solution.
@Lisa_2021 , You can use isfiltered or isinscope to change grand total
if(isinscope[Table[Customer]), [M1], [M2])
This should work in the calculation group. if you using selectedmeasure the it requires some calculation
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
@Lisa_2021 , You can use isfiltered or isinscope to change grand total
if(isinscope[Table[Customer]), [M1], [M2])
This should work in the calculation group. if you using selectedmeasure the it requires some calculation
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Thanks amitchandak! The isinscope function worked! Much appreciated!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |