Hi guys
Haven’t posted for some time. So either my CFO day job is taking up too much time or I’m getting competent at DAX. I’d go for the former!
I have a Matrix issue where I can’t get the grand total to calculate correctly. Matrix is an analysis of the components of a car deal had has various % calculations which are correct at line detail and subtotal level but the grand total calculation is rubbish.
I was on the right track but using a different calc for VSpecCat “Standards”.
If I remove the totals at that level then everything is fine, but I don’t get a standards total %.
and we can leave with that till another day.
Great to hear that DAX is "clicking " for you and you were able to solve your own problem.
Matrix totals and subtotals can be a big challenge because even in the simplest case, you have four different evaluation contexts to deal with. Here’s a detailed post I put together on this a while back that I think may provide a useful framework for you to work through your remaining issues.
Brian
P.S. Thanks for trying to format your posted DAX. Here’s a trick - if it won’t format, try adding a hard return after the “=” in the first line of the measure and then try to format everything after that hard return line. That worked perfectly when I tried to reformat your posted measure.