Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

change expressions to yes/no

Dear,

From my qvd I load many customers. Some of the customers have a number, others not. I want to show in my chart if a customer has this number, with a "Yes".

Load from QVD:

Customer       Number   

A                    9876543213

B                    2135743518

C

D              

E                    3486135464

I want to show:

Customer     Number

A                  Yes

B                  Yes

C                  No

D                  No

E                  Yes

I hope this is possible.

thanks a lot!

Best Regards,

Sander

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Load

customer,

if(Len(NUmber)>0,'Yes','No') as Number

from

....

let me know

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Load

customer,

if(Len(NUmber)>0,'Yes','No') as Number

from

....

let me know

Not applicable
Author

It can also be done using

if(isnull(Number),'No','Yes') as Number

Not applicable
Author

Perfect!

thanks a lot!