Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
rohitians
Creator III
Creator III

Variable Problem

Hello,

I have a scenario for Inventory ageing where in am using a variable

vDateForAgeing=

=IF(ISNULL(GetFieldSelections(MonthName))=0 OR ISNULL(GetFieldSelections(FinancialYear))=0,DATE(MAX(PostingDate)),DATE(Today()))

but when i reload it says VDateForAgeing field not found I am not able to find the error.

Please Help


Thanks and Regards,

Rohit Yadav

3 Replies
nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hii,

Your syntax should be as mentioned below.

=IF(ISNULL(GetFieldSelections(MonthName)) OR ISNULL(GetFieldSelections(FinancialYear)),

     DATE(MAX(PostingDate)),

     DATE(Today()))

try this one...

-Nilesh

Not applicable

hi

try this

=IF(GetFieldSelections(MonthName)=0  OR  GetFieldSelections(FinancialYear)=0,

MAX(DATE(PostingDate)),DATE(Today()))

hope this helps you.

rohitians
Creator III
Creator III
Author

Really Sorry guys i dint used $ sign in script...

Thanks and Regards