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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

EBITDA shown as zero negative (0,0)

Hi amazing community!

 

The EBITDA in my report shows 0.0 but it should really be -0.0 as we are below the budget.

 

Does anyone know how can I show it as negative (0,0)? I have tried the FORMAT measure but it is not working.

 

Thanks!

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , try like

Column = IF('Table2'[Column1]<=0,"(" & FORMAT('Table2'[Column1],"General Number") & ")" ,FORMAT('Table2'[Column1],"General Number"))
Anonymous
Not applicable

Hi @amitchandak 

 

Thanks for your reply but unfortunately, it is not working and it is changing all the negative values that I have in EBIDTA column.

@Anonymous , Sorry, But if you only need 0 try like

 

Column = IF('Table2'[Column1]=0,"(" & FORMAT('Table2'[Column1],"General Number") & ")" ,FORMAT('Table2'[Column1],"General Number"))
Anonymous
Not applicable

Hi @amitchandak 

 

The IF formula is not working. I have used FORMAT with this (see below) and I got the (0.0) but as I have 4 rows with 0.0, now I have all (0.0) and I just need 1 row as (0.0) row (Target YTD). Tricky one! 😞

Melissa-Lobina_0-1623160863139.png

Melissa-Lobina_1-1623161056116.png

 

Hi @Anonymous,

You can try to config these in field formatting. (0,0 seems not a valid format to number formats)

Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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