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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
iqbalck
Frequent Visitor

Calculated measure to be displayed on matrix visualisation

Hi All,

I have created a few calculated fields and I need to show it in a matrix or table visualisation. But when I try to do that it shows description of the calculated measures as column header and below it the values. But I need to show the description on rows and the values next to it as shown below. Is it possible in Power BI?

 

Matrix.png

7 REPLIES 7
v-caliao-msft
Employee
Employee

Hi @iqbalck,

 

In order to show report as your required, you need to drag the measure from Columns to Rows. Here is a sample for you reference.

Untitled.png

 

Regards,

Charlie Liao

Hi Charlie,

Thanks, but I am unable to do as you said. I think it is because it is a calculated measure. Please see the screen shot below:

 

Matrix1.png

Hi @iqbalck,

 

Please provide us some sample data, so that we can make further analysis.

 

Regards,

Charlie Liao

Hi Charlie,

Please find below sample data:

 

RegionCountrySalesGross ProfitNet Profit
AX1003515
BX1103327.5
CX1204854
AY13071.513
BY1403532.2
CY1504537.5
AZ16056.6419.2
BZ17076.535
CZ18056.745

I don't know how to attach excel file in here.

With the above data Gross Margin is to be calculated by dividing Gross Profit by Sales and Net Profit% by dividing Net Profit by Sales. After that the calculated measures Gross Margin & Net Profit% are to be displayed in Table or Matrix as shown below:

 

Matrix2.png

 

Hi @iqbalck,

 

You can use a a multi-row card to display those two measures.
Cross% = "Cross%: "&FORMAT(SUM(Table2[Gross Profit])/SUM(Table2[Sales]),"0.00%")
Net% = "Net%: "&FORMAT(SUM(Table2[Net Profit])/SUM(Table2[Sales]),"0.00%")
Capture.PNG

 

Regards,

Charlie Liao

Hi Charlie,

I am unable to do it. I have created the calculated measures from the attributes as show below:

 

matrix3.png

Hi Charlie,

I am unable to do it. I have created the calculated measures from the attributes as show below:

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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