We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I am hoping I can get some help with a matrix. I have a transactions table where I want product on rows, income for a value, and for columns I want department and date.
Mr./Ms. Google search was not very fruitful.
Tom
Hi @talenzmeier ,
I will show you how to make this martix table in your case.
| product | date | department | income |
| P001 | 12/1/2021 | HR | 2 |
| P001 | 12/1/2021 | IT | 3 |
| P001 | 12/1/2021 | Warehouse | 4 |
| P001 | 12/2/2021 | HR | 5 |
| P001 | 12/2/2021 | IT | 6 |
| P001 | 12/2/2021 | Warehouse | 7 |
| P001 | 12/3/2021 | HR | 8 |
| P001 | 12/3/2021 | IT | 9 |
| P001 | 12/3/2021 | Warehouse | 10 |
| P222 | 12/1/2021 | HR | 11 |
| P222 | 12/1/2021 | IT | 12 |
| P222 | 12/1/2021 | Warehouse | 13 |
| P222 | 12/2/2021 | HR | 14 |
| P222 | 12/2/2021 | IT | 15 |
| P222 | 12/2/2021 | Warehouse | 16 |
| P222 | 12/3/2021 | HR | 17 |
| P222 | 12/3/2021 | IT | 18 |
| P222 | 12/3/2021 | Warehouse | 19 |
| P222 | 12/1/2021 | HR | 20 |
| P333 | 12/1/2021 | IT | 21 |
| P333 | 12/1/2021 | Warehouse | 22 |
| P333 | 12/2/2021 | HR | 23 |
| P333 | 12/2/2021 | IT | 24 |
| P333 | 12/2/2021 | Warehouse | 25 |
| P333 | 12/3/2021 | HR | 26 |
| P333 | 12/3/2021 | IT | 27 |
| P333 | 12/3/2021 | Warehouse | 28 |
This will expend the columns to two levels. Do some change on the style and will get the following matrix table.
pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@talenzmeier , what is the issues with that, post you drag department and date then you expand that using reverse Square Y icon, that should show both together
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.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 35 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 38 | |
| 34 | |
| 23 |