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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
prakash11440278
Post Prodigy
Post Prodigy

Replace dash symbol with Blank

Hi Power BI Experts,

I want to change the dash symbol to blank in my measure. Can you please help on the dax expression?

Below is the test measure i am using.

MEASURE = IF(SUM(table[sales])<0,"("& SUM(table[sales])&")", SUM(table[sales]))

 
 
 

Capture.PNG

 

1 ACCEPTED SOLUTION

@harshnathani @amitchandak ,

Thanks for your reply on this issue.

My issue is resolved using Substitute function. Thanks.

Measure: substitute(measure,"-","")

 

View solution in original post

3 REPLIES 3
harshnathani
Community Champion
Community Champion

HI @prakash11440278 .

 

Use ABS function

 

https://dax.guide/abs/

 

Regards,

Harsh Nathani

amitchandak
Super User
Super User

@harshnathani @amitchandak ,

Thanks for your reply on this issue.

My issue is resolved using Substitute function. Thanks.

Measure: substitute(measure,"-","")

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.