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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mePrafull
Frequent Visitor

Need help with DAX - Power BI Matrix visual

Hi There,

I have a requirement, i have to transform a tabular information to below output format.

 

Fin.PNG

 

What i have done is

  • created measured for financial measure Revenue, Volume and cost for each category i.e. volume staying, volume exiting and volume by OTHERS
  • Used SWITCH measure to have category into columns and financial measure into rows
  • UNPIVOT i cannot do as as more than 5Millon rows are there
  • WIth exisitng setup it was taking more time to load the viusal as there are around 22 financial measures

Fin 2.PNG

 

Thank you for checking this post.

1 ACCEPTED SOLUTION
mePrafull
Frequent Visitor

got a solution Using UNPIVOT at powerquery added the colum and merge them for each category, Staying Leaving etc.

View solution in original post

4 REPLIES 4
mePrafull
Frequent Visitor

got a solution Using UNPIVOT at powerquery added the colum and merge them for each category, Staying Leaving etc.

some_bih
Super User
Super User

Hi @mePrafull you need to show values in rows. Check link as example

https://www.selectdistinct.co.uk/2023/02/27/show-values-in-rows-in-power-bi/ 

 

Did I answer correct? Kudos aporeciate / accept solution

 

 





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

Proud to be a Super User!






@some_bih : THank you for reply
the suggested method will transform financial measure (i.e. Volume, revenue and cost) to rows but the distributory category will remain as it is (i.e. Staying, leaving, OTHERS)

Hi @mePrafull put some of non-financial data into columns in matrix.





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

Proud to be a Super User!






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.