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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
yoshi_matsu
New Member

How to add a measures in both rows and columns

I am calculating KPIs for each business process using measures, and arranging them in columns, as shown in the table below. Additionally, I want to include the date in the rows, along with the KPIs for a specific department and the percentage of that department’s KPI relative to the overall KPI.

 

 01/2024  02/2024  
 All departmentsDepartments ADepartment A's ratioAll departmentsDepartments ADepartment A's ratio
Number of phone appointments (measure)100010010%110011010%
Number of acquired negotiations (measure)501020%80810%
Number of deals closed (measure)80810%10110%
Number of contracts signed (measure)6350%3133%

 

In this case, I understand that I need to include measures in both rows and columns, but I can only place them in one of these. How can I achieve this?

1 ACCEPTED SOLUTION
suparnababu8
Solution Supplier
Solution Supplier

Hi @yoshi_matsu 
As per my understanding I answered your question.

suparnababu8_0-1726115150205.png

If you see above snap, now Sales amount, unit price and Total production cost  are at column level. If you want to convert as rows under each date. There is default option in Power BI Matrix chart.
Format Visual --> Values --> Options --> switch values in row groups rather than columns [turn ON this option]

suparnababu8_1-1726115386428.png

If you turn on this option result will appear as mentioned snap.

 

suparnababu8_2-1726115434688.png


I hope it will help you.

 

Thanks!

View solution in original post

2 REPLIES 2
suparnababu8
Solution Supplier
Solution Supplier

Hi @yoshi_matsu 
As per my understanding I answered your question.

suparnababu8_0-1726115150205.png

If you see above snap, now Sales amount, unit price and Total production cost  are at column level. If you want to convert as rows under each date. There is default option in Power BI Matrix chart.
Format Visual --> Values --> Options --> switch values in row groups rather than columns [turn ON this option]

suparnababu8_1-1726115386428.png

If you turn on this option result will appear as mentioned snap.

 

suparnababu8_2-1726115434688.png


I hope it will help you.

 

Thanks!

Ritaf1983
Super User
Super User

Hi @yoshi_matsu 
Can you show the desired result?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors