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 list of names in the filter and if I select a name from the filter then all the records with the selected name should be filtered out.
For example, in a table there is a field called "Attendees" and there are multiple names for each record as shown below.
Then in the filter, if we select a name like;
Then the table should filter all the records with the selected name as shown below:
How can I fix the filter?
I hope my question is clear. If not please let me know, I will try to draft again.
Thanks,
Muru
I went ahead and did this using power query, so I attached the pbix file below. But I went off using this example:
| Project | Fruits |
| A | Apple, Pear, Lime |
| B | Apple, Orange, Grape, Strawberry |
| C | Grape |
| D | Lime, Strawberry |
After loading that table into PowerQuery:
List.Accumulate( [All Data][Fruits],"", (state,current) => state &"," & current )
which produces this column:
Expand that table out
Do some misc clean up and you get this final table
Then just to make the data model complete, created a dimFruits and DimList table which would be used to filter the above table
Final output
File:
Dear @Anonymous,
Your suggestion works fine on the direct query mode. But I want to fix the filters on Live Connection, how can I do that? Please advise.
Thanks.
Thank you for your reply, @Anonymous
I am using Live Connection (SSAS Model). I know there are some limitation on the Live connection like accessing Query Editor, etc.
Can you please tell me how can we fix this filtering issue on Live Connection?
Thanks,
Muru
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |