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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

format negative percentage with bracket and in red

Hi Experts

 

In the model and Properties pane how - what could i add to show my percentages as (23%).

1 ACCEPTED SOLUTION
v-yetao1-msft
Community Support
Community Support

Hi @Anonymous 

(1)You need change the data type of the value to text in Power Query .

Ailsamsft_0-1639037334518.png

(2)Then create a column to add “()” for the value .

(percentage) = FORMAT("(" & SELECTEDVALUE('Table'[Column1]) &")","")

(3)Configure conditional formatting for the value .Choose the column[(percentage)] in fields ,and select Gradient in Format style .

Ailsamsft_1-1639037334527.png

Ailsamsft_2-1639037334529.png

The final result is as shown :

Ailsamsft_3-1639037334530.png

I have attached my pbix file , you can refer to it .

 

Best Regard

Community Support Team _ Ailsa Tao

View solution in original post

2 REPLIES 2
v-yetao1-msft
Community Support
Community Support

Hi @Anonymous 

(1)You need change the data type of the value to text in Power Query .

Ailsamsft_0-1639037334518.png

(2)Then create a column to add “()” for the value .

(percentage) = FORMAT("(" & SELECTEDVALUE('Table'[Column1]) &")","")

(3)Configure conditional formatting for the value .Choose the column[(percentage)] in fields ,and select Gradient in Format style .

Ailsamsft_1-1639037334527.png

Ailsamsft_2-1639037334529.png

The final result is as shown :

Ailsamsft_3-1639037334530.png

I have attached my pbix file , you can refer to it .

 

Best Regard

Community Support Team _ Ailsa Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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