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: 
supriyabiware
Creator
Creator

Comparing Date with variable in Set Analysis

Hello All,

I have to write a conditional count in set analysis (if condition works but is very slow)

I tried 3 options -

1. count ({$ <Monat_Jahr={"=$(=Date(LADEDATUM,'MM/YY'))"},FARBE={2}>}  distinct Supplier)

2. count ({$ <Monat_Jahr={'=(vLADEDATUM)'},FARBE={2}>} distinct Supplier)

3.count ({$ <Monat_Jahr={'09/18'},FARBE={2}>}  distinct Supplier)

only 3rd one seems to work correct (which i have given manually) , other two seems to work but with wrong results.

Anyone knows what possibly is going wrong?

Thanks,

Supriya.

1 Solution

Accepted Solutions
Anonymous
Not applicable

try second expression with (vLADEDATUM should be value in MM/YY

count ({$ <Monat_Jahr={'$(=vLADEDATUM)'},FARBE={2}>} distinct Supplier)

View solution in original post

2 Replies
Anonymous
Not applicable

try second expression with (vLADEDATUM should be value in MM/YY

count ({$ <Monat_Jahr={'$(=vLADEDATUM)'},FARBE={2}>} distinct Supplier)

supriyabiware
Creator
Creator
Author

Thanks

Seems i used $ once but inside with variable and dint try this way!