Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
On May 18th at 10AM EDT we will answer your QlikView questions live. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
retko1985
Creator II
Creator II

How to refer to Inherited (default) state.

Hello,

I want to use GetSelectedCount in straight table expression condition to hide to column based on selection in Month field. The problem is, that month is in Inherited Alternative State, and my straight table is in created Alternate State. So how do I refer to inherited state in GetSelectedCount  function?


Here is an example document with dummy file. In a straight table, I want colum avg(Sales) to dissapear if some month is selected. Condition GetSelectedCount(Month) = 0 is not working now, since it is not recognizing the inherited state (straight table is in state "StateA", and Month Listbox is in inherited state.


I dont want to put month in some state, it will require to redo a lot of expressions.

Thank you.

1 Solution

Accepted Solutions
sunny_talwar

Try this

GetSelectedCount(Month, False(), '$') = 0

View solution in original post

2 Replies
sunny_talwar

Try this

GetSelectedCount(Month, False(), '$') = 0

View solution in original post

retko1985
Creator II
Creator II
Author

Worked like a charm. Thank you!