Forum Discussion
Conditional Column
Hello,
Im adding a conditional coliumn where I want it to do :
If Case containts "PED" then Pedestrians.
Is there a way I can make it that the word "PED" is its own word. I keep getitng a result where PED is in a word and not its own word.
Example I dont "WIPED" as a result.
8 Replies
- andhiii079845Solution Sage
Do you mean PED has to be in the beginning of the word?
- amandabus21Helper V
It could be beginning of a word example "Pedestrain" or its own word "PED"
- KeyurPatel14Responsive Resident
Hi amandabus21 ,
Can you please sample data and expected output as it will help me to solve this quicker?
Thank you.
- andhiii079845Solution Sage
You can try this:
left([your column],3) = "PED"
Only the first 3 words will be checked.
- amandabus21Helper V
How would I add that in power query?
I have a few other conditions in there.
- andhiii079845Solution Sage
In this case i would create a translations table with the current value and the new value to maintain it better.