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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.