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
shakavi
New Member

Filter with ABS partially works

Hi Community,

 

I have created a Parameter in order to filter my visuals (from 0% to 100%)

shakavi_0-1656493846791.png

I have created a formula to compare the percentages (positives and negatives) with the parameter

Filter Delta Nor = IF(ABS('Measures table'[Delta Nor])>'Boundary Delta Nor 3'[Boundary Delta Nor 3 Value],1,0)
When I apply the filter in the visual to show only the "1" it is also showing me a few 0, and if I show the "0" it shows a few 1 as well but not all. If I remove the ABS showing only the positive it works, but I need to show negatives and positives.
shakavi_1-1656494067057.png

 

Thanks!

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @shakavi 
Please try

Filter Delta Nor =
IF ( ABS ( DIVIDE ( [Delta Nor], [Boundary Delta Nor 3 Value] ) ) > 1, 1, 0 )

View solution in original post

2 REPLIES 2
shakavi
New Member

Yeap, it works as well. Sorry, I did not realize that in the matrix I had groups, so expanding the rows there were a few 1 in there.

Thanks because writing the formula in a different way made me to realize that the problem was not in the formula!

tamerj1
Super User
Super User

Hi @shakavi 
Please try

Filter Delta Nor =
IF ( ABS ( DIVIDE ( [Delta Nor], [Boundary Delta Nor 3 Value] ) ) > 1, 1, 0 )

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.

Top Solution Authors