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
Anonymous
Not applicable

help with filter for multiple flags

Hi there,

 

trying to build a filter that covers multiple overlaping flags. I've followed multiple guides but can't get it full working.

 

I've concatanated the flags into one value, that looks a lot like this....Capture.JPG

 

I also have another table that has the 4 values as a list (1 column with 4 rows A,B,C,D)

Capture.JPG

I struggle with the final steps;

What sort of relationship should I have with the 2 tables? 
Whats the DAX that I use to say bring through only the selected values?

 

Thanks in advance!

 

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your description, not certain what is your expected output, the combined column or anything else?

In your sample table, what did the Flag column mean?

 

Could you please consider sharing more details about this issue for further discussion?

 

Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Sorry,

Things always seem clear when you're writing them.

The outcome I need is something (I suspect a measure) that will give me the 4 options A,B,C,D that then filter based on the flags in the table.

Anonymous
Not applicable

Thanks for the reply.

There's too many calculations to mention, there's lots going on.

Unpivot wont fix this (IMO) - the challenge here is not the shape of the data, it's the fact that a row can have a number of flags so need a way of picking these up.

-----------------------


Fowmy
Super User
Super User

@Anonymous 
Can you explain what sort of calculation are you trying to do?

Your data needs transformation, probably UnPivoting. Please refer to : https://www.youtube.com/results?search_query=excelfort

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.