Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a column "Item" that I would like to find all values start with "SK" or "78", then insert a text "Do Not Use" to the custom column, otherwise, carry the values from column Item over as is. Can someone help with this please?
Solved! Go to Solution.
I would create a column
_new_column = IF(LEFT([column],2) IN {"SK","78"}, "Do Not Use",[column])
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
I would create a column
_new_column = IF(LEFT([column],2) IN {"SK","78"}, "Do Not Use",[column])
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
@Ajinkya369 attaching image of data and the result I would like to achieve. Need help with Dax formula or custom column formula please. Thank you.
Using the CONTAINSSTRING function:
Proud to be a Super User!
Paul on Linkedin.
You can create a custom column in Power Query to meet the output. The interface will allow you to choose between "contains" (to specify the string values) and the output can be custom or a column value
As an alternative, you can create a custom column using DAX in your table using the function CONTAINSTRING as the variable
Proud to be a Super User!
Paul on Linkedin.
User | Count |
---|---|
77 | |
77 | |
68 | |
67 | |
49 |
User | Count |
---|---|
108 | |
105 | |
93 | |
83 | |
64 |