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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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