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
HxH
Helper II
Helper II

Bidirectional filtering or crossfilter?

Hey guys,

I am working on a model that has a lot of bidirectional relationships and I remembered reading from SQLBI and other sources that bidirectional filters are bad and that it's better to use crossfilter in measures instead. What I wanted to ask is if there's any reason I should keep bidirectional relationships enabled and not use crossfilter every time. What I mean is: what are the situations in which you absolutely can't do without bidirectional relationships (maybe because crossfilter doesn't work in that particular instance) ? Do these situations exist? Or I can just eliminate them and use crossfilter? This is probably a stupid question but I'm a beginner so this is all really new to me. 

Thanks 

1 ACCEPTED SOLUTION

@HxH I haven't came across any scenario where I couldn't use crossfilter so based on that I think it is the best option, not sure what else to tell.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@HxH keeping bi-directions will have performance impact and sometime you will find unexpected results because of bi-directional filter, if you use crossfilter in measure, bi-directional will only applicable where you will use that measure otherwise it will not have perfomance impact. Hope it helps.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Yes I got that but I'm trying to understand if there's any case in which I can't use crossfilter because otherwise it seems like the best option and bidirectional filters seem useless

@HxH I haven't came across any scenario where I couldn't use crossfilter so based on that I think it is the best option, not sure what else to tell.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.