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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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.

 

7 REPLIES 7
v-pagayam-msft
Community Support
Community Support

Hi @sujana_m ,
we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

v-pagayam-msft
Community Support
Community Support

Hi @sujana_m ,
May I ask if you have gotten this issue resolved?
If it is solved, please share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

Thank you.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

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.