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
tameemyousaf
Helper I
Helper I

Filter Value of Measure

I have a measure that shows below values in grid.

 

filter.jpg

 

"Stock Exc/Def" is not the column its a measure. I want to filter the values and want to get the values that are -ve. I don't want to use visual level filter. I want to do it only by creating a new measure. How can I do this?

 

I have tried the following but failed. 

 

Stock Exc/Def Less than zero = CALCULATE([Stock Exc/Def], FILTER('myTable', [Stock Exc/Def] < 0))

1 ACCEPTED SOLUTION
gapage
Advocate I
Advocate I

=IF (
    [Stock Exc/Def] < 0,
    [Stock Exc/Def],
    BLANK ( )
)

View solution in original post

2 REPLIES 2
gapage
Advocate I
Advocate I

=IF (
    [Stock Exc/Def] < 0,
    [Stock Exc/Def],
    BLANK ( )
)

Thanks @gapage

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.