Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

set analysis Expression

Dear community members,

I added the expression : =Sum(if('$(vStartDate)' <= '$(vEndDate)', {<TRANSACTION_DATE= {'$(vStartDate)'}>}STOCK_CONS, 0))

in a pivot table expressions, but I'm getting "-" meaning that the data is missing but I'm sure there's data.

Is there any error in the expression above?

Thank you in advance,

Abdallah

3 Solutions

Accepted Solutions
Highlighted

Try this

=Sum({<TRANSACTION_DATE = {'$(vStartDate)'}>} If('$(vStartDate)' <= '$(vEndDate)', STOCK_CONS, 0))

View solution in original post

Highlighted
Creator III
Creator III

Thank you Sunny,

It's working.

Best regards,

Abdallah

View solution in original post

Highlighted

Awesome

Please close the thread by marking the correct response above.

Thanks,

Sunny

View solution in original post

4 Replies
Highlighted

Try this

=Sum({<TRANSACTION_DATE = {'$(vStartDate)'}>} If('$(vStartDate)' <= '$(vEndDate)', STOCK_CONS, 0))

View solution in original post

Highlighted
Creator III
Creator III

Thank you Sunny,

It's working.

Best regards,

Abdallah

View solution in original post

Highlighted

Awesome

Please close the thread by marking the correct response above.

Thanks,

Sunny

View solution in original post

Highlighted
Creator III
Creator III

Some how the "marking the correct answer" is not working right now.

I will check that later