Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
MVP

set with variable

Hi all,

 

i have variable    like below   im using in this in set analysis but its showing error in expression..  

vCurHalf_Year = chr(39)&concat(Half_Year,chr(39)&','&chr(39))& chr(39)

 

textbox expression:    =sum({$<Half_Year={(=$(vCurHalf_Year)},Type={'Forecast_SR','Forecast_SSR'}>}Service_Amount)

what might be the issue?

 

 

Thanks

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

May be try one of these

=Sum({$<Half_Year = {$(=$(vCurHalf_Year))},Type = {'Forecast_SR', 'Forecast_SSR'}>} Service_Amount)

Or this

=Sum({$<Half_Year = {$(vCurHalf_Year)},Type = {'Forecast_SR', 'Forecast_SSR'}>} Service_Amount)

View solution in original post

2 Replies
sunny_talwar

May be try one of these

=Sum({$<Half_Year = {$(=$(vCurHalf_Year))},Type = {'Forecast_SR', 'Forecast_SSR'}>} Service_Amount)

Or this

=Sum({$<Half_Year = {$(vCurHalf_Year)},Type = {'Forecast_SR', 'Forecast_SSR'}>} Service_Amount)
Chanty4u
MVP
MVP
Author

thanks sunny.. 1st one is working .. 2nd one showing expression error.