Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Logic help

right now month DEC 14 is running, here i am following Financial Year April to March,

when i go to Day Level and try to find max(date) of current month it is giving me 31st dec 14 but it should be 03-dec-14.

can any one help me in this.

if  need master calender script i can provide that

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

It seems you have loaded dates up to 31 Dec, so max(date) will return 31 Dec. Do you want the max(date) to be limited to today, or to dates containing transactions

     =RangeMin(Today(), max(date))

     =max({<date = {"=Count(Sales) > 0"}>} date)  (fix field name to match your model)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jagadeesh_diamo
Contributor III
Contributor III

Can you please clarify which output you want? dynamic or standard?

If you want todays date, why dont you use today() function?