I have been trying to crate a slicer in which all condition need to be true.
Normally a slicer would use an OR condition in filtering and I need to to use an AND instead.
To give you an example I want to select accounts which have purchased specificl multiple products. Calling products Prod1, Prod2 and Prod3 if I create a slicer selecting Prod1 and Prod2 the list of account I have is for people having EITHER Prod1 or Prod2 while I need accounts having both.
Is there a workaround I can adopt?
Sorry I might not have explained myself properly.
Yes if I ctrl-select the two products it shows both of them but works with a logic of either-or.
To give you an example If I select Prod1 alone it gives me 10137 records, Prod2 alone gives 381 records. Selecting both the records are 10313 as some records bought both Prod1 and Prod2. What I would like the slicer to do is to show me the 205 records owning both Prod1 and Prod2.
Is there any way to do so?
This is the current schema. The table Owned has one line per account per product and it filters the Accounts one having one line per account.
OK, so you are trying to filter 1 side (Accounts) using the column AllProductsOwned(slicer) in the many side (Owned)? Is this correct?
Hi @robyfauves ,
Have you solved the problem with the suggestion of atif-hafeez ?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share a simple data sample which could reproduce your scenario so that we could help further on it.
I see. I think this is more of a modelling issue.
What i would suggest you do is,
I am sure you will get the correct counts.
Many experts suggest not using bi-directional filter except for some rare scenarios.
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Click here to read more about the July 2021 Updates
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps