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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
michelleberkenb
New Member

Reflecting value and percentage in PowerBI Matrix

Reflecting value and percentage in PowerBI Matrix
yesterday

Good day,

Is it possible to display both value and percentages in PowerBI Matrix?
Each KPI either has value or percentage and needs to be represented as such in one Matrix

 

See excel example below:

Capture.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @michelleberkenb ,

You can create a new measure as below to replace the original value field, and its data type will be Text type... Please find the deatils in the attachment.

Measure =
VAR _sum =
    SUM ( 'Table'[Value] )
VAR _selheading =
    SELECTEDVALUE ( 'Table'[Heading] )
RETURN
    IF ( _selheading = "PTRAs", FORMAT ( _sum, "Percent" ), _sum )

vyiruanmsft_0-1695356286138.png

In addition, please review the following links and check if it can achieve the same requirement by creating calculation group.

Custom Data Labels in Power BI - Goodly

Creating Value Dynamic Formatting using Calculatio... - Microsoft Fabric Community

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @michelleberkenb ,

You can create a new measure as below to replace the original value field, and its data type will be Text type... Please find the deatils in the attachment.

Measure =
VAR _sum =
    SUM ( 'Table'[Value] )
VAR _selheading =
    SELECTEDVALUE ( 'Table'[Heading] )
RETURN
    IF ( _selheading = "PTRAs", FORMAT ( _sum, "Percent" ), _sum )

vyiruanmsft_0-1695356286138.png

In addition, please review the following links and check if it can achieve the same requirement by creating calculation group.

Custom Data Labels in Power BI - Goodly

Creating Value Dynamic Formatting using Calculatio... - Microsoft Fabric Community

Best Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors