Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional show when dimension is changed

I have a dimension group on my x-axis called 'Time'. It consists of the two fields Week and Month.

I have a particular expression i only want to be visible on the chart when the user is viewing the chart by Week and not by Month.

What would the expression be for a conditional show to achieve this?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

=If(GetCurrentField(YourGroup)='Week' , ....,..)

View solution in original post

4 Replies
tresesco
MVP
MVP

=If(GetCurrentField(YourGroup)='Week' , ....,..)

Anonymous
Not applicable
Author

Hi Alex

Island you fields names as %Dims and on the expression

select Enable and Conditional and use this line

=Alt( Match ( GetFieldSelections(%Dims, '|'), 'Time' ), 0 )

Not applicable
Author

Thanks Tresesco

This was the final expression I used

=IF(GetCurrentField(Time)='CalendarWeekStart',1,0)

Anonymous
Not applicable
Author

Hi  Alex,

I jus tested tresesco`s solution it works good and easy to implement