Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
chaper
Creator III
Creator III

Custom Error Message Issue after reload

I have straight table with custom error message " Select one dimension to see data".Some how after each reload the error message is getting replaced by following.

"Error in set modifier ad hoc element list:

',' or ')' expected"


I do have calculation condition as Getselectedcount(Dimenison)=1 or 2.why my custom error message is changing?

Thanks in advance

8 Replies
Not applicable

I think ..it is because of missing of ')' in set expression.

Can you please share your set expression?

Regards

Harsha

Clever_Anjos
Employee
Employee

Some of your expressions is not ok.

Would you mind sharing your expressions?

chaper
Creator III
Creator III
Author

Sorry for late reply.I am using following expressions.

=Only({<Type=,[Week]=,[Week Counter]={$(=$(=vSelectedWeek)-2)}>} SaleNumber)

=Only({<[Week]={$(=max([Week Counter]))}>} SaleNumber)

=Only({<Type=,[Week Counter] ={$(=max([Week Counter])-2)}, [Week Range] =>} [Week Friday])

Clever_Anjos
Employee
Employee

What is the content of vSelectedWeek?

Colin-Albert

Should the expression use $(vSelectedWeek) not $(=vSelectedWeek)

=Only({<Type=,[Week]=,[Week Counter]={$(=$(vSelectedWeek)-2)}>} SaleNumber)

chaper
Creator III
Creator III
Author

In Script i used Dual (WeekRange,WeekCounter) .So whenever I select week range ( Ex:0803/2015-08/07/2015) in UI vSelectedWeek gives respective Week Counter.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

A good trick to start with: enable these expressions one-by-one to see which one is causing issues.

Peter

chaper
Creator III
Creator III
Author

I tried it too but no luck