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 Numbers in Power Query in ()

Hi Expert

 

is it possible to format - negative number in Power Query with Brackets..... The number is my tables when the file is uploaded from Excel convert from (1.0) to -1.0 in Power BI. 

 

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

I don't know if you can do it in power query but if you go into the model view and select the column you can set custom formatting there.

jdbuchanan71_0-1617552583280.png

This formatting string

#,#.#;(#,#.#);0

Gives me this format in the table.

jdbuchanan71_1-1617552636073.png

 

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

I don't know if you can do it in power query but if you go into the model view and select the column you can set custom formatting there.

jdbuchanan71_0-1617552583280.png

This formatting string

#,#.#;(#,#.#);0

Gives me this format in the table.

jdbuchanan71_1-1617552636073.png

 

 

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.