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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mypowerbi1
Helper III
Helper III

remove the values which start with 0. or -0.

Hi,

One of the measure gives output in the range of -800000 to +900000 range. 

I need to remove all those values from a measure's output which start eaither -0. or 0.

please suggest how to remove them.

Thanks

3 REPLIES 3
devesh_gupta
Super User
Super User

@mypowerbi1 Try to use the following dax if it works for you:

= CALCULATE (
    <measure>,
    FILTER (
        ALL ( <table> ),
        LEFT ( <measure>, 2 ) <> "-0" && LEFT ( <measure>, 1 ) <> "0"
    )
)

 

If you find this insightful, please provide a Kudo and accept this as a solution.

Ahmedx
Super User
Super User

try this

IF( ABS([MEASURE])>= 1 ,[MEASURE])

Ahmedx
Super User
Super User

try this

IF( ABS([MEASURE])>= 1 ,[MEASURE])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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