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
Anonymous
Not applicable

Custom filter removes one extra line

Hello everyone,

I have a weird issue with a custom filter I created. It basically compares rank and selected number (range slicer) and returns 1 if selected number is greater than the rank, 0 otherwise.3 rows with the value of 1 - expected behaviour3 rows with the value of 1 - expected behaviour

3 rows with the value of 1 - expected behaviour3 rows with the value of 1 - expected behaviour

So this perfectly works without any problem but when I add this filter to my visualizations and set its "is" property to "1" to be able to see only the rows have smaller ranks than the selected number.


setting filter...setting filter...

However, it filters all 0's but also 1 more line where its value is 1.
2 rows with the value of 1 after filtering - unexpected behaviour2 rows with the value of 1 after filtering - unexpected behaviour
Could anyone know how to solve this issue? I already created different filters like this one before, but this is the first time I encountered sth like this. Any help would be greatly appreciated.


Cheers,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Dear @v-diye-msft,

I created a dummy pbix it works there, but it wasn't working within the original scenario with real data which is under confidentiality agreement. Anyways, I figured out that it was happening because of a relation I created between tables. So now, looks like it is working perfectly. Thank you all for your support and time you spared. I wish you have a great day and weekend ahead.

Cheers,

View solution in original post

4 REPLIES 4
jthomson
Solution Sage
Solution Sage

Seems odd. What happens if you set the filter to <>1 (or <>0)?

Anonymous
Not applicable

Hello @jthomson ,

I tried various combinations but result is always the same 😞

Hi @Anonymous 

 

Could you please share your dummy pbix? that would be easier for us to dig inside. 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Dear @v-diye-msft,

I created a dummy pbix it works there, but it wasn't working within the original scenario with real data which is under confidentiality agreement. Anyways, I figured out that it was happening because of a relation I created between tables. So now, looks like it is working perfectly. Thank you all for your support and time you spared. I wish you have a great day and weekend ahead.

Cheers,

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.