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

Hi Friends I have a dataset like below.. I want to retrieve Customers with SellType is PROMOT. Please suggest me..

CustomerSellType
XG970201NORMAL
XE057701NORMAL
XE711301PROMOT
XE355501PROMOT
XF970201PROMOT
XE530601PROMOT
XE653901PROMOT
XE653901PROMOT
XH700501PROMOT
XE530601PROMOT
XE650301PROMOT
XG194401PROMOT
XE530601PROMOT
XE530601NORMAL
XE530601NORMAL

Hi Friends

I have a dataset like below.. I want to retrieve Customers whose SellType is PROMOT what will be the query. Please suggest me..

Thanks,

Bibhuti

1 Solution

Accepted Solutions
sunny_talwar

Sure, add this to your set analysis within the expression:

{<SellType = {'PROMOT'}>}

This will restrict SellType to only PROMOT

View solution in original post

13 Replies
swuehl
MVP
MVP

In your script:

LOAD

Customer,

SellType

FROM YourTable

WHERE SellType = 'PROMOT';

sunny_talwar

Within QlikView's script you want to do that??? If yes then may be this:

TableName:

LOAD Customer,

          SellType

FROM Source

Where SellType = 'PROMOT';

Not applicable
Author

Thanks All for your great response,

Can it is possible to directly write the query at the time of visualization??

I want to write query on Dimension axis to make it visualize... Is it possible??

Thanks

sunny_talwar

Sure, add this to your set analysis within the expression:

{<SellType = {'PROMOT'}>}

This will restrict SellType to only PROMOT

Not applicable
Author

Thanks Mr Sunny,

I need this query.. Thanks again for your valuable response.

Not applicable
Author

Hi Mr Sunny,

I want retrieve Customers whose SellType is Promot.

What will be the Query ???

Thanks

sunny_talwar

We need to know what object you are working with? Did this -> {<SellType = {'PROMOT'}>} in your expression not work?

Not applicable
Author

Expression working but nor returning Customers.

sunny_talwar

Which object are you using? Text Box object? Straight table?

If you are looking for a concatenated list of customer in a text box, then try this -> Concat(DISTINCT {<SellType = {'PROMOT'}>} Customers)