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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Use pipe separated values as filter

Hi,

I Need filter a table column based on cell with pipe separated values, thanks.

 

1.png2.png3.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

 

First go to query editor>split column filter(table B):

Annotation 2020-07-09 095846.png

Then create a measure as below:

 

Total = SUMX(FILTER(ALL('Table A'),'Table A'[ID]=MAX('Table B'[Filter.1])),'Table A'[Value])+SUMX(FILTER(ALL('Table A'),'Table A'[ID]=MAX('Table B'[Filter.2])),'Table A'[Value])

 

And you will see:

Annotation 2020-07-09 100037.png

For the related .pbix file,pls click here.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

 

First go to query editor>split column filter(table B):

Annotation 2020-07-09 095846.png

Then create a measure as below:

 

Total = SUMX(FILTER(ALL('Table A'),'Table A'[ID]=MAX('Table B'[Filter.1])),'Table A'[Value])+SUMX(FILTER(ALL('Table A'),'Table A'[ID]=MAX('Table B'[Filter.2])),'Table A'[Value])

 

And you will see:

Annotation 2020-07-09 100037.png

For the related .pbix file,pls click here.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
DataInsights
Super User
Super User

For the "Table B" query, split the Filter column into rows as shown below:

 

DataInsights_0-1594252168924.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors