I am trying to create a new column based on an exiting column using an IF and OR statement, but it's not catching all instances. Basically, I want it to capture any record that has the word "taxi" "uber" or "lyft" in the field and classify it as "Taxi" all else remain.
AMS_Description = IF(OR('wp_gp_join_search rdl'[Description]="??taxi??",'wp_gp_join_search rdl'[Description]="??uber??"||'wp_gp_join_search rdl'[Description]="??lyft??"),"TAXI",'wp_gp_join_search rdl'
However, it doesn't seem to be using wildcards or picking up instances where the "taxi" or "uber" or "lyft" are the 2nd, 3rd, or 4th word in the string of text. What is an easy way to do this?
I'm used to ACL and this would be a very simple calculated field script.....
These links should set you on the right track:
Hi @Rick72 Thank you so much for your help!!
I've tried to use: AMS_Description = IsMatch( 'wp_gp_join_search rdl'[Description], "taxi", Contains & IgnoreCase )
And I keep getting an error with the "IgnoreCase" part greyed out. Also, I didnt see an option to have an OR function nested, so I"m trying to find all those transactions associated with 'taxi', 'uber', and 'lyft' would I just continute the the string and add it like this:
AMS_Description = IsMatch( 'wp_gp_join_search rdl'[Description], "taxi", "uber", "lyft", Contains & IgnoreCase )
I think it is wise to learn a bit more about PowerApps. Something like: "AMS_Description = ..." is not working in PowerApps. The syntax/way to accomplish things is just different then you are used to.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.