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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

How to close of a set analysis expression

Dear Qlikview User,

I was wondering if someone could kidnly cast an eye over the following expression, as I am unsure where I should be closing off the set analysis and I am getting the following error message:

Error is set modifier expression

=Num(sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth),If(RTT_WEEKS_WAIT <'18', RTT_COUNTER))/

sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth)RTT_COUNTER), '0.00%')

Kind Regards

Helen

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be this:

=Num(sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth)>} If(RTT_WEEKS_WAIT <'18', RTT_COUNTER))/

sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth)>}RTT_COUNTER), '0.00%')

Note: comma removed before If .. and other correction highlighted in bold

View solution in original post

2 Replies
tresesco
MVP
MVP

May be this:

=Num(sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth)>} If(RTT_WEEKS_WAIT <'18', RTT_COUNTER))/

sum({$<Week_Number,Month,QuarterName,FiscalYear,FactDateNum=P(FactDateNum_prevMonth)>}RTT_COUNTER), '0.00%')

Note: comma removed before If .. and other correction highlighted in bold

helen_pip
Creator III
Creator III
Author

Thank you! This works