Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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 ReportingMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
20 | |
10 | |
10 | |
10 |