Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
shekhar_analyti
Specialist
Specialist

What should be set expression to restrict dimension values one field but not in other field ?

Hi All ,

I have list of around 50 employee headed by 5 person . 

My requirement is to track sales ID by some 10 employee for any given  date range . 
But my set expression reduces the list of employee than needed . 

I  tried expression with pivot , but in vain 

1)  Count( DISTINCT {<TRANS={'B'},TYPE={'Music'},DATEE={">=$(=Date(eStartDate))<=$(=Date(eEndDate))"} >}ACTION_ID)

2) Count( DISTINCT {<NAME= {'Karole Peskett','Nikolaos Meedendorpe','Reg Andrzejak','Sigismondo Rudram','Antonius Beatens','Axel Este','Barny Chown'}, TRANS={'B'},TYPE={'Music'},DATEE={">=$(=Date(eStartDate))<=$(=Date(eEndDate))"} >}ACTION_ID)

With both  above expression , i could not get desired , below result 

data.PNG

 

Basically i need a set expression should give me the count of distinct ACTION_ID for given set of names against above Heads . 

Thanks & Regards

Shekar 

10 Replies
shekhar_analyti
Specialist
Specialist
Author

Thank You Sunny Bhai , it helped ....