Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have a problem with filtering my data. I have a table of tags which is connected with products, customers, etc. I want to filter my data by tags.
I made a slicer and put the tags as a value. There is no problem when I filter data by one tag, but there is a problem when I try to filter data by multiple tags. If I select multiple tags I get all the data which has at least one of the tags (so there is an OR connection between tags in the slicer). But usually I want to get only the data which has all the selected tags (AND connection). Is there a way to do that?
If the tags come from a single column - I assume they do - then AND doesn't make any sense. Each row can only have one. If your tags come from multiple columns, then how are you doing this?
Tags are in a separate table which has a connection table with every table tags are connected to. It is a many to many connection. So for the products I have three tables:
- products table
- tags table
- products_has_tags table
products_has_tags has two columns:
- tag_id - which is connected to ID in tags table
- product_id - which is connected to ID in products table
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |