Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
MurugeshC
Helper I
Helper I

Complex: Filtering data by name

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.

 

Table with attendees.PNG

 

Then in the filter, if we select a name like;

Filter by name.PNG

 

Then the table should filter all the records with the selected name as shown below:

 

Filtered by name.PNG

 

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

 

4 REPLIES 4
Anonymous
Not applicable

@MurugeshC ,

I went ahead and did this using power query, so I attached the pbix file below. But I went off using this example:

ProjectFruits
AApple, Pear, Lime
BApple, Orange, Grape, Strawberry
CGrape
DLime, Strawberry

 

After loading that table into PowerQuery:

  • Split the "Fruits" column by delimiter and to new rows, not columns. giving this table
  • Split by Deli to new rows.png
  • Group this new table by project and aggregate all data
  • Add a new column wiht this code
List.Accumulate( [All Data][Fruits],"", (state,current) => state &","
& current )

which produces this column:

List Accum Function.png

 

Expand that table out

Do some misc clean up and you get this final table

Final Table.png

 

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

Final Matrix.png

File:

https://1drv.ms/u/s!Amqd8ArUSwDS1TYkrRtY1efnZd8m

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.

Anonymous
Not applicable

@MurugeshC 

I'll  have to mess around with Live Connection and see

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.