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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
TonyO
Frequent Visitor

Hide the operator?

I'm using a measure in a matrix, and for some reason the value is showing the subtraction operator (see the attached image - none of these values are negative, that's the operator). This makes the visual unusuable. How do I remove it? Thanks!

 

Link to Image

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

If you want it to always show a postive number regardless of the output, just convert it to an absolute value. Wrap your measure in =ABS()



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

4 REPLIES 4
edhans
Community Champion
Community Champion

The result of subtracting the MaxYear from MinYear is resulting in negative numbers. The visual isn't showing the operator. It is showing results of the math.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
TonyO
Frequent Visitor

Thank you for your suggestion! The result of the function is displayed in the 'Total' field (which can be negative) - the data in the date rows will never be negative.

.

If I remove the variable filter and shorted it to a CONCATENATE(SUM - SUM) the minus operator goes away, but for some reason when I'm doing a CONCATENATE(SUM,var) - CONCATENATE (SUM,var) the operator is present in the output.

edhans
Community Champion
Community Champion

If you want it to always show a postive number regardless of the output, just convert it to an absolute value. Wrap your measure in =ABS()



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
TonyO
Frequent Visitor

Thanks Ed, that worked. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.