Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gayathridevi24
Contributor III
Contributor III

Above and Below function

Hi All,

I am using above and below expression. It is not working fine.

Please find the attached qvw file. Could all please help me to solve this issue.

Thank you all in advance.

Thanks and Regards,

Gayathri Devi

9 Replies
Frank_Hartmann
Master II
Master II

not sure if this meets your requirement, but give it a try

vishalgoud
Creator III
Creator III

what you are trying to achive, do you want to add the previous month result to current month ??

gayathridevi24
Contributor III
Contributor III
Author

Hi Vishal,

Actually am trying to compare the two months and see the difference.

I want to see the difference between current month and next month.

I want to know the working of above and below function.

gayathridevi24
Contributor III
Contributor III
Author

if(month='jan',0,data-above(data))

The above expression is not working me.

Could you please help me to solve this issue.

Frank_Hartmann
Master II
Master II

make sure that the sorting of your dimensions are correct! otherwise below and above will not work as expected!

Frank_Hartmann
Master II
Master II

is this what you are expecting?

Unbenannt.png

gayathridevi24
Contributor III
Contributor III
Author

Hi Frank,

Yes, I am expecting this result only. Thank you so much for your support.

Could you please share me the qvw file.

Thanks and regards,

Gayathri devi

Frank_Hartmann
Master II
Master II

I already attached this qvw in my first post. i guess you are watching this thread through your Inbox.

Try to open the link to the thread directly and you will see my attached file!

Above and Below function

hope this helps

Frank_Hartmann
Master II
Master II

did this resolve your requirement?

If yes then please close this thread. if not feel free to share your thoughts

Qlik Community Tip: Marking Replies as Correct or Helpful