Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jsobrinho
Creator
Creator

Trigger in webview mode not working

Hi guys,

I have a text with the action Clear all, but I need that my list Month keeps the last or first month by the year. My list Month is not select 'Always one select', if I set this, the month always the same value and not dynamic.

 

The problem is, when webview is off, it's working correctly, but in webview on,  is not working, only clear all fields and my month list too.

I need that when i click in 'text' action clear all, the month stay with first or last month by the year, like webview off.

=if( Year = Min({1}Year), Only({1<MonthID={"$(=Min(MonthID))"}>}Month), Only({1<MonthID={"$(=max(MonthID))"}>}Month))

Labels (2)
1 Solution

Accepted Solutions
jsobrinho
Creator
Creator
Author

I solved the problem...

I create a variable with max and min year, and in the text action I have

=if(Year= min({1}Year),
vMinMonth,
vMaxMonth
)

and In my action now, I have Clear all, Clear Field Month and Select in Field

 

Tks.

View solution in original post

1 Reply
jsobrinho
Creator
Creator
Author

I solved the problem...

I create a variable with max and min year, and in the text action I have

=if(Year= min({1}Year),
vMinMonth,
vMaxMonth
)

and In my action now, I have Clear all, Clear Field Month and Select in Field

 

Tks.