Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
either within the Load process or within the Dashboard -
how can I check if the first character is the letter 'W' from the customerID field - and if Yes - Count
Hi,
Try the following -
=Count({$<[Customer Name]={'w*'}>}[Customer Name])
I hope this helps
Thanks
Nick
Hello,
In the chart expression
Count({< customerID = {"W*"} >} customerID)In the script, using a flag (for example)
Table:LOAD customerID, If(Left(customerID, 1) = 'W', 1, 0) AS customerCountedFROM source
And then in your chart
Sum(customerCounted)
Hope that helps
Hi
i'm not sure what you want, but you can do something like this in the script
If(left(CustomerIDField,1) = 'W', CustomerID, null()) as Customer_wo_W
OR
if(wildmatch(CustomerIDField,'W*'), CustomerID, null() as Customer_wo_W
then in the object use the expression
count(Customer_wo_W)
OR
with set analysis something like
count({<CustomerID = {"W*"}>}CustomerID)Hope this helps
Rgds
OK - that worked. thank you