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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aarushirc14
New Member

Use column with multiple comma separated values to filter visuals

Hi everyone,

I have a column called "Applications" which contains multiple comma separated values. I need to filter my visuals by Applications.

aarushirc14_0-1663700383506.png

When I select "Applications" and create a slicer I get this:

aarushirc14_1-1663701189181.png

I need to filter by each individual application. For example, when SAP is selected, data from the following rows need to be seen:

SAP, Excel

SAP, Optik, Sharepoint, Excel

SAP, Sharepoint

 

How can I do this?

1 ACCEPTED SOLUTION

@aarushirc14 Might be best to split out your applications in Power Query Editor using a ", " separater and then unpivot those columns. Otherwise it could get messy, you would have to get a list of distinct applications for your slicer. Then you would need to write a complex selector that grabs the selected items (use DISTINCT) in the slicer and then use ADDCOLUMNS to SEARCH the MAX value of your current Applications column and return 1 or 0 if it is found or not. Then, return the SUMX of that column. Set your filter pane to filter for this measure > 0.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
tamerj1
Super User
Super User

@aarushirc14 
Then it is not as easy as it seems. It's bed time 🙂 I'll work on it tomorrow morning. One more question, do you have the unique list of applications or you need to create it using DAX calculated table?

Thanks! I don't have a unique list of applications but am able to produce a table for this easily as there's not many applications.

aarushirc14
New Member

Hi! The user might select multiple items.

@aarushirc14 Might be best to split out your applications in Power Query Editor using a ", " separater and then unpivot those columns. Otherwise it could get messy, you would have to get a list of distinct applications for your slicer. Then you would need to write a complex selector that grabs the selected items (use DISTINCT) in the slicer and then use ADDCOLUMNS to SEARCH the MAX value of your current Applications column and return 1 or 0 if it is found or not. Then, return the SUMX of that column. Set your filter pane to filter for this measure > 0.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler I went with splitting out the Applications into rows and it worked. Thanks!

@aarushirc14 Solid choice.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
tamerj1
Super User
Super User

Hi @aarushirc14 
Is it only single selection slicer or you might select multiple items?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.