Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Is there a way I can pivot by measures that are displayed 'on rows' in the matrix?
Here is the context.
I have 5-6 measures that calculate week by week how many sales leads flowed through the sales process, like below. The database contains a timestamp for each stage which I have inactive relationships that I write measures for to count up the tallys.
| Week 1 | Week 2 | Week 3 | |
| Stage 1 Counts | 3 | 1 | 4 |
| Stage 2 Counts | 2 | 0 | 2 |
| Stage 3 Counts | 4 | 1 | 2 |
I now need to add a layer with lead stage counts by Source by week, and the requestors have asked for a format such that the Measures would be the pivot, like so:
| Week 1 | Week 2 | Week 3 | ||
| Stage 1 Counts | ||||
| Web | 2 | 1 | 0 | |
| 1 | 0 | 2 | ||
| MarketingEvent | 0 | 0 | 2 |
I can't figure out a way to get this to work, I can get the Source as the Pivot but that looks fairly messy as it duplicates each set of measures for every marketing source and becomes cumbersome quickly.
Hi @Anonymous ,
In my opinion, measures are not used for perspective, but are data for indicator aggregation. You can put measures on rows in a matrix in power Bi through the wonderful blog post written by Matt Allington, or try to carry out row column rotation in pivot column in power query
Link:
https://exceleratorbi.com.au/measures-on-rows-here-is-how-i-did-it/
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 39 | |
| 31 | |
| 18 | |
| 17 | |
| 15 |