Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
brunolelli87
Creator II
Creator II

Why am I geeting the "Error in expression" message?

Hello guys,

I'm working with the following expression and I believe it's correct, and providing the correct value for me, but Qlikview is saying there is an error in expression.

What am I doing wrong?

 

Why.png

 

Thanks for your assistance,
Best regards

1 Solution

Accepted Solutions
sunny_talwar

May be you need this

Sum(TOTAL LOPP)

View solution in original post

11 Replies
sunny_talwar

I think your date field is called PERI... you need to replace the word Date with PERI

image.png

brunolelli87
Creator II
Creator II
Author

It's wierd, look at that!

Not the expression is ok, but the expression is not working...

Example.png

VishalWaghole
Specialist II
Specialist II

Hi,

Please try this,

sum({=$(=Date(MonthStart(PERI,-12)),'DD/MM/YYYY') <=$(=Date(Max(PERI)))'}>} LOPP)

Please try to make same format of

Date or PERI, whatever is your dimension field. Thanks, Vishal Waghole

brunolelli87
Creator II
Creator II
Author

Thanks for your assistance, but it's not working.
Please, take at look at the picture below:

 

Not working.png

VishalWaghole
Specialist II
Specialist II

After the opening curly bracket you have missed Date or PERI.

sunny_talwar

Try this

Sum({<PERI = {">=$(=Date(MonthStart(Max(PERI), -12)))<=$(=Date(Max(PERI)))"}>} LOPP)

 

brunolelli87
Creator II
Creator II
Author

Your expression works "Expression OK", but the result is not what I'm expecting.

Teste 3.png

brunolelli87
Creator II
Creator II
Author

Hello

Thanks for your help, but it's not working!
Would you mind to send me an example?

Thanks

sunny_talwar

What were you hoping to see?