Skip to main content
Announcements
Applications are open for the 2024 Qlik Luminary Program. Apply by December 15 here.
cancel
Showing results for 
Search instead for 
Did you mean: 
aresb
Creator
Creator

How to use GetFieldSelection()

Hi Everyone,

 

i have two alternative state:

DataStart and DataEnd

 

i would like to create a condition that show my table only if the same year is selected, so i tried

GetFieldSelections(Year(YearMonthOrder),False(),'DataStart')  =GetFieldSelections(Year(YearMonthOrder),False(),'DataEnd')

But this doesn't work. 

 

Does anyone have any advice ? 

 

Labels (3)
2 Replies
MatheusC
Creator III
Creator III

hello, @aresb 

in the data manipulation tab
I would use something like the function GetSelectedCount(yeartoday())>0
aresb
Creator
Creator
Author

Hi,

the main problem is that this two alternate state are built on the same datefield.
i would like to show the table only if the same year is selected from both alternate state.