Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am having an issue with creating a formula that works.
I have a column where they values either start with"3213" or "3215" and I need a formula that gives me an output of "A" in the new column for 3213 or an output of "B" in the new column for 3215.
TIA for the help.
Solved! Go to Solution.
You can do:
= Table.AddColumns(PriorStepOrTableName, {{"Indicator", each if Text.StartsWith([Item #], "3213") then "A" else "B", type text}})
--Nate
You can do:
= Table.AddColumns(PriorStepOrTableName, {{"Indicator", each if Text.StartsWith([Item #], "3213") then "A" else "B", type text}})
--Nate
Awesome, this worked. Thank you for the help!
Result would look something like this.
Thanks again.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.