Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello all,
I have 9 measures used on multiple other reports.
I'm trying to build a Matrix and have the below results. It works but not grouped well and messy.
MTD Sales | QTR Sales | YTD Sales | Inventory | Seconday Inventory | In-Transit | At Sea | Future Orders Confirmed | Future Orders Pending | |
East | |||||||||
West | |||||||||
Central |
I want to have the measures have a parent title, or group them by there type (Sales, Inventory, Transit, Order). Imagine below but with merged cells.
I've tired everything I can think of but falling short. Does anyone know how to do this?
hi @TS_PowerBI
It's very possible. You will need a table, likely disconnected from your model, with the 4 states AND your measure titles. Add both into your matrix as columns.
Next, you may need a top level measure to determine what to show. Something along this line:
VAR _FindMeasure = SELECTEDVALUE(DisconnectedTable[MeasureTitle])
RETURN
SWITCH( _FindMeasure,
"MTD Sales", [MTD Sales],
"Inventory", [Inventory],
"Future Orders Pending", [FutureOrdersPending]
)
EDIT: Here's a sample set-up you'd likely need
Top-level measure:
Expected results:
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
104 | |
103 | |
87 | |
61 |
User | Count |
---|---|
162 | |
132 | |
131 | |
95 | |
86 |