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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
btrompetter
Contributor III
Contributor III

Problem with Set Analysis and Date

Hello,

I want to filter a formular with set analysis and set a selected day but I don't know why it didn't work.

Here is the formular:

count( DISTINCT {$<
$(vLFLFlag) = { $(=vTotalLFLFilter) },
Jahr = { $(vSelectedYear) },
DATUM = { $(vCurDate) }
>} AD_ID_COUNT)

If I set DATUM = { '05.01.2010' } it works, but this is the same as the variable.

Thanks for help.

Bastian

1 Solution

Accepted Solutions
Not applicable

Hello,

Try this :

count( DISTINCT {$<
$(vLFLFlag) = { '$(=vTotalLFLFilter)' },
Jahr = { '$(=vSelectedYear)' },
DATUM = { '$(=vCurDate)' }
>} AD_ID_COUNT)

Philippe

View solution in original post

2 Replies
Not applicable

Hello,

Try this :

count( DISTINCT {$<
$(vLFLFlag) = { '$(=vTotalLFLFilter)' },
Jahr = { '$(=vSelectedYear)' },
DATUM = { '$(=vCurDate)' }
>} AD_ID_COUNT)

Philippe

btrompetter
Contributor III
Contributor III
Author

Thanks for the Tip it works.