Reply
BigTommy
Helper I
Helper I
Partially syndicated - Outbound

Negative quantity less then ZERO in brackets

Hello my fello Power BI MASTERS!

 

How to format to have negarive quantity which are less than ZERO to show in brackets?

 

the FORMAT[measure], ##,###.###0;(##,###.###0) is working but cannot figure out how to display zero on front... see below:

 

-0.2964 giving me  (,2964) but I want (0.2964)

-0.2599 giving me (,2599) but I want (0.2599)

 

for quantity like below I have correct format but instead of "." after 5 I have ","

 

-5.2300 = (5,300)

 

 

Please send help!

 

Big Tommy

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Syndicated - Outbound

Hi @BigTommy ,

 

I created a test column with negative values in it and have formatted them as shown below:

 

Pragati11_1-1596098901814.png

The column I created for formatting the negative values is as follows:

NegFormat = FORMAT(Negative[values], "##,###.###0;(##,###0.###0)")
 
Use your column name in above dax expression.
 
Let me know if this is what you are looking for.
 
Thanks,
Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

Syndicated - Outbound

Hi @BigTommy ,

 

Modify the dax as shown in the below screenshot:

Pragati11_0-1596116173634.png

I have tried this on POUND currency, you can do similar for EUR currency.

 

 Regarding your , and . issue, check your regional settings as shown below:

Pragati11_1-1596116306252.png

The higlighted decimal symbol at my end is "."

At your end I think it is ",", therefore you are seeing the difference. Modifying this should resolve your issue.

 

THanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

Syndicated - Outbound

@BigTommy , refer

https://www.youtube.com/watch?v=dNLuTqg938A

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Pragati11
Super User
Super User

Syndicated - Outbound

Hi @BigTommy ,

 

I created a test column with negative values in it and have formatted them as shown below:

 

Pragati11_1-1596098901814.png

The column I created for formatting the negative values is as follows:

NegFormat = FORMAT(Negative[values], "##,###.###0;(##,###0.###0)")
 
Use your column name in above dax expression.
 
Let me know if this is what you are looking for.
 
Thanks,
Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Syndicated - Outbound

hey, thank you for your help. 

 

So I have entered this and yes, is ok however, I have still "," instead of "."

 
-5.23 is now (5,23)
 
Also I have forgfot to mention this is currencly so when I do this I am missing the EUR sign.
 
is there any way to show this as currency? Euro? 
 
 

Syndicated - Outbound

Hi @BigTommy ,

 

Modify the dax as shown in the below screenshot:

Pragati11_0-1596116173634.png

I have tried this on POUND currency, you can do similar for EUR currency.

 

 Regarding your , and . issue, check your regional settings as shown below:

Pragati11_1-1596116306252.png

The higlighted decimal symbol at my end is "."

At your end I think it is ",", therefore you are seeing the difference. Modifying this should resolve your issue.

 

THanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Syndicated - Outbound

Thank you for your help!

 

Have a great week!

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)