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: 
Not applicable

Sheet Level/Dccument Level Trigger

Hi,

I am trying to implement a document level/sheet level trigger which on opening should give only today's data (or the maximum date which is present in the data).I tried going to sheet properties->Triggers->onActivateSheet->Action->Select->

My select in field is OrderDate and selection string is Date(Max(OrderDate),'MM/DD/YYYY').when i do this on opening it should give me only maximum date let it be 15th sep as per my data.Its not working for some reason.If i apply the same on another field like customer number or itemnumber its working absolutely fine.I think there is some error regarding data conversion.But Order Date is in MM/DD/YYYY format.Let me know if anyone have come across this scenario.Your help is appreciated

Thanks,

Navya

1 Solution

Accepted Solutions
Not applicable
Author

Hi Malini,

Using MaxString(OrderDate) worked,error is not w.r.t Alternate State.

Thanks,

Navya

View solution in original post

2 Replies
malini_qlikview
Creator II
Creator II

Hi

i could see the alternate state is selected in setting actions. I guess an alternate state is created with OrderDate, hence the trigger is applied on the state created and not to the original field OrderDate. Remove the alternate state in triggers else add a new select in field trigger for OrderDate only.

Not applicable
Author

Hi Malini,

Using MaxString(OrderDate) worked,error is not w.r.t Alternate State.

Thanks,

Navya