The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a disconnected table that is creating an income statement of sorts for our team. I have measures for each row. Some rows have detail that are only applicable to expenses (GL Account), but is not needed for Revenue.
When I get to my measure that gives me Cash Flow From Operations, it repeats all the GL Accounts where they exist. I can collapse the level of detail, but that would be confusing to users. Any ideas on how to adjust my DAX to be able to show a calculated subtotal without showing any detail that may be a row level in the Matrix?
@jaredseal , refer if this can help
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
@amitchandak I cannot get the matrix sub/grantotals to work because we are displaying informational items such volumes and prices. So I am using a measure to calculate what the subtotal/grand total would show. That measure is what is showing all the other row entires.
Hi @jaredseal ,
You can refer to the practice similar to this.
MyMeasure2 = IF(HASONEFILTER(Table[Year]),
IF(SUM(Table[Amount])<1000,0,SUM(Table[Amount])-1000),
SUMX(FILTER(Table,[Amount]>1000),[Amount]-1000)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Greg_Deckler I tried following your example, but my problem remains. Since I am displaying multiple types of information, I cannot use Matrix totals. I am trying to calculate a subtotal, summation of data above, for the LOE section, but the subtotal is repeating all of the detail from the index column. Any thoughts/tips?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
78 | |
67 | |
52 | |
50 |
User | Count |
---|---|
121 | |
119 | |
77 | |
62 | |
61 |