March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
I'm trying to figure out how to get an illustration where i can choose a product and then another illustration will show me who does NOT have that product.
My data is sorted like this:
Customer | Date | Product | Amount |
1 | 01.01.2019 | A | 642 |
1 | 01.01.2019 | B | 764 |
1 | 01.01.2019 | C | 608 |
1 | 02.01.2019 | A | 312 |
1 | 02.01.2019 | B | 991 |
1 | 02.01.2019 | C | 448 |
1 | 03.01.2019 | A | 701 |
1 | 03.01.2019 | B | 795 |
1 | 03.01.2019 | C | 377 |
2 | 01.01.2019 | A | 172 |
2 | 01.01.2019 | B | 621 |
2 | 01.01.2019 | C | 278 |
2 | 01.01.2019 | D | 943 |
2 | 02.01.2019 | A | 720 |
2 | 02.01.2019 | B | 447 |
2 | 02.01.2019 | C | 767 |
2 | 02.01.2019 | D | 932 |
2 | 03.01.2019 | A | 212 |
2 | 03.01.2019 | B | 267 |
2 | 03.01.2019 | C | 885 |
2 | 03.01.2019 | D | 331 |
I have created a slicer where i can pick all my products as shown below (A, B, C, D etc.):
I have also created a meassure that show the customers who have bought this combination of products:
Hi @Anonymous ,
You may create measure like DAX below.
Except slicer =CONCATENATEX (EXCEPT ( ALL ( Table1[Product] ), ALLSELECTED ( Table1[Product] ) ),Table1[Product],", ")
Result:
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-xicai
Thanks for the reply, but it was not quite what is was looking for.
The thing you gave me shows what products have not been chosen from the slicer. It does not show what customers that does not have those products.
I don't know if it is possible but i kinda need two slicers.
One where i choose specific products that it want to know which companies have and another slicer where i select products which companies does not have.
So a third table will show me companies that have the selected products from slicer 1 but not the selected products from slicer 2.
Above i have attached a phote of a matrix illustration. Customers are in the first collums and then two selected products are in the second and third collum.
I would like a visual that shows me the customer "Profil Art" if i selected "Have: getcookiehistory" and sellect "Does not have getcookierecommendations"
Right now this is the best solution but i have to manually look thorugh hundres of customers and write them down seperately for all that have product X but not Y.
Furthermore i would like to be able to compare more than 2 products, which is difficuelt with the previous mentioned method.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |