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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
sujana_m
Frequent Visitor

Adding visual text to the end of number and keep percentage formatting

Hi everyone,

 

I am trying to add "pp" (percentage points) to the end of the number in my variance measure. However, I only want to change "pp" for some of my visuals, not the measure format in the back end. At the same time, I don’t want Power BI to convert it to text.

 

I have a measure that returns a Market share variance value, e.g., 1.56%. I modified it by appending text to display 1.56 pp, so I would like to replace the % symbol with "pp" while keeping the measure numeric.

Measure Format e.g.

 

sujana_m_2-1742392476959.png

i want see MS Var -1.16pp instead -1.16%

sujana_m_0-1742392404851.png

 

Does anyone have a solution for this?
Thanks.

 

5 REPLIES 5
rajendraongole1
Super User
Super User

Hi @sujana_m  - Since Power BI does not allow appending text to numbers while keeping them numeric, you can create a separate measure for visuals where you need "pp"

 

MS_Var_Display =
VAR Value1 = DIVIDE(AVERAGE('Condition'[Actual $ Value]),SUM('Condition'[Actual $ Value])) -- Your original market share variance measure
RETURN
    FORMAT(Value1, "0.00") & " pp"

 

rajendraongole1_0-1742393443852.png

 

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





bhanu_gautam
Super User
Super User

@sujana_m 

Create a new measure that formats the number as a string and appends "pp" to it. This will convert the measure to text for display purposes.

Formatted MS Var =
VAR MSVar = [CCI MS] - [CCI MS PY]
RETURN
FORMAT(MSVar, "0.00%") & " pp"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi Gautam, thanks for the solution, but I want to see only PP after the number, not the % symbol. e.g -1.99pp

@sujana_m 

use this then Formatted MS Var =
VAR MSVar = [CCI MS] - [CCI MS PY]
RETURN
FORMAT(MSVar, "0.00") & " pp"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






I also tried this approach, but it is not working as I expected.

sujana_m_0-1742394901660.png

with out %  numbers.

sujana_m_1-1742394930142.png

 

 

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors