Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi
I have a table of transactions that includes a Start Date along with two attributes, Transaction Type and Fulfilled.
Transaction Type is simply a three letter code and Fulfilled is just a 1 or 0.
| Start Date | Transaction Type | Fulfilled |
| 31/03/2025 | ARY | 0 |
| 31/03/2025 | ARY | 1 |
| 31/03/2025 | QXN | 1 |
| 31/03/2025 | TRP | 0 |
| 07/04/2025 | QXN | 0 |
| 07/04/2025 | QXN | 1 |
| 07/04/2025 | TRP | 1 |
| 07/04/2025 | TRP | 1 |
| 07/04/2025 | TRP | 0 |
| 07/04/2025 | QXN | 1 |
| 07/04/2025 | TRP | 0 |
I want to create a matrix visual with the Start Date as columns, and both the Transaction Type and Fulfilled as rows. The values would then just be the count of each Transaction Type and the count of 1s for Fulfilled:
| 31/03/2025 | 07/04/2025 | |
| ARY | 2 | 0 |
| QXN | 1 | 3 |
| TRP | 1 | 4 |
| Fulfilled | 2 | 4 |
The solution would also need to take into account that new Transaction Types can be added as time goes by, and these would need to be added to the matrix. Therefore, I ideally would like to avoid a situation where I had to update DAX with a new Transaction Type.
Totally at a loss as to how to acheive what I thought would be quite simple!
Solved! Go to Solution.
Hi @Ormy28 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Regards,
Rama U.
Hi @Ormy28 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Regards,
Rama U.
This is how I set up the matrix:
The measure is a values if I add a new Transaction type, it will be added automatically
Hi @Ormy28
The following dax measure should help you
Thanks for your reply.
How would you then use this measure? I was of the understanding that measures could not be used as rows in a matrix visual?
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |