Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
Specialist
Specialist

hello, @aresb 

in the data manipulation tab
I would use something like the function GetSelectedCount(yeartoday())>0
Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
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.