Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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:
Solved! Go to Solution.
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 )
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
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 )
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
Check out the November 2023 Power BI update to learn about new features.