Forum Discussion

quantumudit's avatar
quantumudit
Icon for Super User rankSuper User
5 years ago
Solved

Handling Bi-directional cross-filtering

Hello guys, Let’s say I have a simple model and I fully understand how bi-directional filtering works and I really need to optimize my model performance.

 

So, what is the best way, and why so?

 

The options are:

 

Opt-1: Enabling Bi-directional cross-filtering ?

Opt-2: Use CROSSFILTER() function instead ?

 

Notes: I do understand that bi-di are troublesome and we must avoid using it but, I just need to understand what is the best approach when we have a simple model.

So, this means my model is simple but, not the dataset, so it could have millions of rows and 20-30 columns.

  • quantumudit 

    Personally I would avoid bi-directional filters at all costs (I've only used them for RLS security tables), and go for TREATAS ( I use this function very often) or CROSSFILTER

4 Replies

  • PaulDBrown's avatar
    PaulDBrown
    Icon for Community Champion rankCommunity Champion

    quantumudit 

    Personally I would avoid bi-directional filters at all costs (I've only used them for RLS security tables), and go for TREATAS ( I use this function very often) or CROSSFILTER

  • Hi quantumudit ,

     

    I agree with PaulDBrown. Use CROSSFILTER function.

    Best practice is to avoid Bi-Directional relationships as they sometimes introduce complex joins between the tables and affect background performance a lot; specially when you are dealing with millions of rows in the dataset.

     

    Thanks,

    Pragati