Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Filtering from Many side to One without Cross Filtering

I have a table named Lead_ID containing following data

 Another table named Emails contain following data


the relationship goes by Emails (Email) (one side) -> Lead_id (EMail) (Many SIde)

I created following visual and slicer


Now i want to filter the tablular visual by applying filter Abuse/not.
Since the relationship is one sided from Emails (Email) (one side) -> Lead_id (EMail) (Many SIde), i cant filter it out by selecting any value from Slicer,
I tried changing the relationship properties by changing the cross filter direction as both but it is not working in my original model,
which contain lots of other tables and there is a chance of  Ambiguous Model Error.

Is there anyother way of resolving this??

 

  • Hi Anonymous ,

     

    As long as the "Abuse/Not" column is added to the table visual or there is an "Abuse/Not" column in the filter context of the matrix formula, the slicer can affect the table visual. 

    Or is this what you want?

    So I feel very strange about your statement, please provide a sample .pbix file.

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

7 Replies

  • Anonymous you can force it by using crossfilter DAX function, use it in a measure like this

     

    Measure = 
    CALCULATE ( 
    SUM ( Table[Amount] ),
    CROSSFILTER ( Table[Id], Dim(Id], BOTH )
    )

     

    Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

    • Anonymous's avatar
      Anonymous
      Not applicable

      I am not looking to Sum the Abuse/Not Column,
      I am looking to use this as a Slicer to filter my tabular visual,
       

      • amitchandak's avatar
        amitchandak
        Super User

        Anonymous , In slicer you can put a measure(in the visual level filter) from the many side of the table and check for not blank

  • Anonymous if you still don't want to create a measure then you have to cross filter direction to both but the recommendation would be put as a visual level filter as amitchandak  suggested.

     

    Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.