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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
yoshi_matsu
Regular Visitor

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
Super User
Super User

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors