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

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

Reply
niel_orvyn1
Helper III
Helper III

Matrix with values from different rows

Dear Community,


I'm trying to create a visual to show a Gross Profit Analysis using Currency Value/item volume. In this case, it will be currency per liter.

I am currently achieving this by doing multiple measures and displaying each value manually with a card (Sales; Cost of Sales is text boxes).

See the below example:



GP Analysis example.jpg

 

Below is an example of how the table looks and the measures currently used to get the above value:
GP Matrix.jpg

 

You will notice the AccountType column item descriptions are different for "1. Volume", however below rows they will only have a prefix, for example, Sales: Diesel; COS Diesel; Adjustment: Diesel.

 

Is there any other way to do this, maybe with a switch with multiple conditions and measure to display this in a table or matrix? 

 

Look forward to your reply. 

 

Best Regards,

Niel

2 REPLIES 2
amitchandak
Super User
Super User

@niel_orvyn1 , Not very clear. But you can display them in a matrix using show on row, which will move the measure to column and then give account on the column, nothing on row

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

Many thanks for always assisting. I've made a sample *.pbix to better describe my challenge. 
I'm trying to see if I can create a table or matrix rather than an individual as per the file in the link.

 

Please let me know if you are able to access the file, or maybe an alternative to sharing the file. 

https://orvyncom-my.sharepoint.com/:f:/g/personal/niel_orvyn_com/Eualf2cRAJRIiIpHdmR8WaUB9zqHPAKoemi...

Kind regards,

Niel

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors