The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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