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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SETANALYSIS on formula based on variable

Hello,

I'm trying to search the expression to make a setanalysis with variable.

Something like this :

=sum(

    {$<

        [aDate] = {"makedate(year(vDate),month(vDate),day(vDate))"}

    sales

)

please,

thank you.

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Did you tried like this?

sum(

    {$<

        [aDate] = {"$(=makedate(year(vDate),month(vDate),day(vDate)))"}

    sales

)

View solution in original post

2 Replies
Not applicable
Author

Hi,

Did you tried like this?

sum(

    {$<

        [aDate] = {"$(=makedate(year(vDate),month(vDate),day(vDate)))"}

    sales

)

Not applicable
Author

Perfect, it works, thank you.