This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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.
You can try this:
left([your column],3) = "PED"
Only the first 3 words will be checked.
Proud to be a Super User!
How would I add that in power query?
I have a few other conditions in there.
In this case i would create a translations table with the current value and the new value to maintain it better.
Proud to be a Super User!
How would I do that?
Do you mean PED has to be in the beginning of the word?
Proud to be a Super User!
It could be beginning of a word example "Pedestrain" or its own word "PED"
Hi @amandabus21 ,
Can you please sample data and expected output as it will help me to solve this quicker?
Thank you.
If you see, the only "pedestrian" signifciant event correct would be bus 810 because it has the word PED isolated on its own. Unlike the other ones that its just at the beginning, middle, or end of another word.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |