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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tommasogaiaspa
Contributor III
Contributor III

expression in the set analysis

Hi, I would like to know what I have unblocked in this expression since it does not propose me any result:

sum({$<Priorità={R02}>}($(=vNIpri)))

this is the NIpri variable:

sum(TOTAL <Priorità>{<Obiettivo>}(Effettivo-[Range Min])*100*[Peso Indicatore]/([Range Max]-[Range Min])*[Peso Priorità])

Thank you

1 Solution

Accepted Solutions
sunny_talwar

May be try this

Sum({$<Priorità={"R02"}>}Aggr(($(=vNIpri)), Priorità))

image.png 

View solution in original post

4 Replies
PrashantSangle

Check below
1: what is output of variable NIpri in text box.
2: sum({$<Priorità={R02}>}($(=vNIpri))) use " single quote around R02. like
sum({$<Priorità={"R02"}>}($(=vNIpri)))

Regards,
Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
tommasogaiaspa
Contributor III
Contributor III
Author

I tried your solution, but I don't get any results.
I am attaching the qvw test file where you can find the tables with the expressions and the graph with the error.
Thank you.

sunny_talwar

May be try this

Sum({$<Priorità={"R02"}>}Aggr(($(=vNIpri)), Priorità))

image.png 

tommasogaiaspa
Contributor III
Contributor III
Author

Thanks for the solution