2 Messages
•
45 Points
Filtering on no error message in Price Method
I’m using a UPE method, and have a Warning2 text string that either has one of many possible text values, or “” if no warning conditions are met:
WARNING2 =
IF([FINAL_PRICE]=-1,"",
CONCATENATE(
IF([FINAL_PRICE]>[LIST],"Price > List, ",""),
IF([FINAL_PRICE]>[STANDARD PRICE],"Price > StdPrice, ",""),
IF([FINAL_PRICE]<ROUND([COST],2),"Price < Cost, ",""),
IF([PRICE_OLD]=-1,"New SKU","")))
I want to be able to filter in UI on “Warning 2 is not “” “ – to isolate lines that have warning text strings that are not “”, but I can’t seem to get it to work. Any suggestions?
I like using “” in formula as the default for no warning, as looks clean in UI and in excel exports, so want to avoid re-writing the default to be some special character.
Accepted Solution
rfowler
1 Message
•
10 Points
6 months ago
Hello @phastings,
Reading your current formula, it looks like you are familiar with our legacy evaluation engine which did not have support for the absence of a value. Luckily, it looks like you are using our latest cloud features with the Unified Pricing Engine (UPE) which does! In the UPE, we have native support for and prefer the use of "NULL" for the absence of value, better functions for text modification, and native support for Boolean data types which you will find in the modified formula below. With this formula, you will be able to use the "is empty" and "is not empty" filter criteria in your price list instead of trying to find some placeholder string.
Modified Formula:
Thanks for posting!
1
0