Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello,
There are many, many posts about the issues with getting matrix totals and subtotals to behave in the way you want, but I am too inexperienced a coder to be able to extrapolate from the examples I can find to the problem that I have! My matrix measure is particularly complicated becuase: a) it is made up of several other measures, b) there is a triple layer split in my data - I have a row for each Subject, Subjects are grouped into Schools, Schools are then grouped into Colleges, and I need a final grand total, and c) I have some hard coding for particular Subjects, because for these I want to ignore the calculation being performed for most Subjects and just use a hard coded figure. With me so far?
My measure looks like this:
Solved! Go to Solution.
It wasn't an ISINSCOPE issue. I had to amend the way it was summing things in each of the individual measures. Once I had done that, the original coding for the main measure worked correctly.
Hi @HM615 ,
I would take a moment to thank @djurecic , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions
It wasn't an ISINSCOPE issue. I had to amend the way it was summing things in each of the individual measures. Once I had done that, the original coding for the main measure worked correctly.
Hi @HM615 ,
I would look at using ISINSCOPE to determine what level of the heirarchy you are at:
https://learn.microsoft.com/en-us/dax/isinscope-function-dax
Thank you for this suggestion. I am still trying to work out how I incorporate this into my particular measure. Given that the elements that make up my MainResultRaw (below) are all individual measures, and not columns, would this still be the way to go?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |