Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
o59393
Post Prodigy
Post Prodigy

Rearrange matrix with 2 values

Hi all

 

Can I go from this:

 

o59393_0-1727718189345.png

 

Where 2 different values are mixed (capacity, count, capacity, count).

 

 

To this?:

 

o59393_1-1727718199960.png

 

(capacity, capacity, count, count).

 

If so, how can I do it?

 

Thanks.

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

hi @o59393 

This can be done but not out of the box. You will need a disconnected table and extra measures to be able to achieve it. You will also need to use dynamic format strings as you're showing % and count. Lastly, an additional measure for the conditional formatting.

danextian_0-1727588906621.png

Please see attached sample pbix

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

@o59393 few ideas here:

 

https://youtu.be/bJ6f1ehijxk

 

https://youtu.be/PbNiTrm-Mwg

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@o59393 you can easily achieve this by calculation group but @danextian solution will also work.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

danextian
Super User
Super User

hi @o59393 

This can be done but not out of the box. You will need a disconnected table and extra measures to be able to achieve it. You will also need to use dynamic format strings as you're showing % and count. Lastly, an additional measure for the conditional formatting.

danextian_0-1727588906621.png

Please see attached sample pbix

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks @danextian  I have submitted an idea to MSFT to hopefully work on some kind of toggle on/off to re-arrange the order of columns.

 

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=c8e6d3f4-1a7e-ef11-a4e6-6045bd7cc00a

 

Appeciate if you can vote.

 

Regards.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.