Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I have a column of data (Column A) that has multiple values within it (Classifications) separated only by commas. I only need some of those values to be considered (List of Specific Classifications) for my new column (Column B). I am unfamiliar with Dax and need help with the language.
I need to create a column that will follow this logic:
Column B = if (Column A) contains 2 different values from (List of Specific Classifications), then Y, else N.
Is this possible with Dax? Could someone please point me in the right direction?
Thank you for your tips. I am unable to share the data as it is confidential, but will try what was suggested.
It can be fake data, sample of what you have.
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@bkeenan - try this power query custom column as shown in the screenshot.
Custom col power query step
If this post helps to find solution would be happy if you could mark my post as a solution and give it a thumbs up
Best regards
Manoj Nair
Linkedin - https://www.linkedin.com/in/manoj-nair-%E2%98%81-344666104/
You need to share data, otherwise we are just guessing. I think this belongs in Power Query by parsing your data into a list, then using List.Contains() to find hits. But until I see the data, I won't know.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUser | Count |
---|---|
23 | |
18 | |
16 | |
13 | |
12 |