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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Peony
Creator III
Creator III

Set Analysis expression error

Hi all

I created set analysts formula =Avg({<Period_FK = Num(Today())>} Duration).

But for some reason I get an error message: "Error in set modifier element function name: "}" expected ". And I can't get where should I put these "}"?

1 Solution

Accepted Solutions
agigliotti
MVP
MVP

maybe this:

=Avg( {< Period_FK = {"=Num(Today())"} >} Duration )

i hope it helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

2 Replies
agigliotti
MVP
MVP

maybe this:

=Avg( {< Period_FK = {"=Num(Today())"} >} Duration )

i hope it helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Peony
Creator III
Creator III
Author

Great! It works! Thank you!