Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
lalitkgehlot89
Creator II
Creator II

Need logic help on section.

Hi,

In given data I want to see only CUSTACCOUNT which has the TYPE only Internal on selection.

Please help me out to write the logic.

17 Replies
Anil_Babu_Samineni

Try this?

Load * From Table Where TYPE = 'Internal';


OR


Only({<TYPE = {Internal}>} CUSTACCOUNT)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
lalitkgehlot89
Creator II
Creator II
Author

Hi Anil,

My Scenario some thing like this.

All data in table box. And when I select  Internal from Type then only Internal CUSTACCOUNT should be so. and if select Former then only Former CUSTACCOUNT  should be show.


If a CUSTACCOUNT  belongs more than one Type that should not show in table data.

Anil_Babu_Samineni

This achieve normally - QIX engine can do that for you. No need to do any thing here? Let's assume if you are filtering Internal from TYPE then how you are seeing in your application?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
its_anandrjs

On the front end you can try on any text object, Straight table

=Count ( {<TYPE = {'Internal'} >} CUSTACCOUNT )


On Load Script

Load

*

From [Customer Data]

Where Match(TYPE,'Inernal');

Or

Load

*

From [Customer Data]

Where TYPE ='Inernal';

Load

*

From [Customer Data]

Where TYPE LIKE  'Inernal';


lalitkgehlot89
Creator II
Creator II
Author

Hi Anil,

With your logic data exists  in application.

  

CUSTACCOUNTTYPE
GLMCTM004378Internal
GLMCTM004379Internal
GLMCTM004380Internal
GLMCTM004381Internal
GLMCTM004382Internal
GLMCTM004384Internal
GLMCTM004385Internal
GLMCTM004386Internal
GLMCTM004387Internal

But I want to see only last three records. because above records also belongs to others Type also.

GLMCTM004385Internal
GLMCTM004386Internal
GLMCTM004387Internal
avinashelite

In table box you can't added the expression ...try with the straight table or Pivot table

Anil_Babu_Samineni

Are you expecting this in Script / Front End?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
lalitkgehlot89
Creator II
Creator II
Author

Hi Anand,

With your logic data exists  in application.

 

CUSTACCOUNTTYPE
GLMCTM004378Internal
GLMCTM004379Internal
GLMCTM004380Internal
GLMCTM004381Internal
GLMCTM004382Internal
GLMCTM004384Internal
GLMCTM004385Internal
GLMCTM004386Internal
GLMCTM004387Internal

But I want to see only last three records. because above records also belongs to others Type also.

GLMCTM004385Internal
GLMCTM004386Internal
GLMCTM004387Internal
its_anandrjs

Then what are that filter and again filter with SET analysis those rows please elaborate.