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 II
Creator II

Error in set expression

I have been using this expression and it is throwing error anybody can help me..........

=Sum({<Num(Month(Date(Date#(Month,'MMM'),'MM')))={">$(=Num(Month(Today())))"}>} Value)

1 Solution

Accepted Solutions
Highlighted
Creator III
Creator III

Hi,

That expression is working for me

PFA

Thanks,

Pooja

View solution in original post

5 Replies
Highlighted
Creator III
Creator III

Hi,

with reference to your thread expression required

Below expression is working fine for me with the sample data.

for loading script:

Num(Month(Date(Date#(Month,'MMM'),'MM'))) as Temp

Expression:

=Sum({<Temp={"<=$(=Num(Month(Today())))"}>} Value)

You can not use Num(Month(Date(Date#(Month,'MMM'),'MM'))) directly in set analysis.


What is the issue your facing with the below expression:

=Sum({<Temp={"<=$(=Num(Month(Today())))"}>} Value)


Thanks,

Pooja

Highlighted
Creator II
Creator II

Hi Pooja,

For

Current Month

=Sum({<Temp={">$(=Num(Month(Today())))"}>} Value) the value is 0.08

For future Month

=Sum({<Temp={"<=$(=Num(Month(Today())))"}>} Value) the value is 0.08

both it is showing same value

But i need as current Month is 0.02 and future month 0.06

Highlighted
Creator III
Creator III

Hi,

That expression is working for me

PFA

Thanks,

Pooja

View solution in original post

Highlighted
Creator II
Creator II

I will check it. Pooja

Highlighted
Creator II
Creator II

Thanks Pooja.

Its working fine.