Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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:
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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 33 | |
| 31 | |
| 29 |