Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Context for Date Dimension

I need to have a dimension for year that has a context of "Entered" when referring to orders placed. We have two dimensions.

Fiscal Quarter

Fiscal Date Context = 'Entered'.


I need a dimension that is always Fiscal Quarter in the Entered context so the user does not need to set each individually. I was thinking of a master item but not sure how to  go about it.

The dimension should allow for the user to pick the quarter that is automatically set to 'Entered'  date context.

Thanks!

4 Replies
zebhashmi
Specialist
Specialist

if i understood right may be this

len(Fiscal Quarter>0,'Entered') as Fiscal Date Context

Anonymous
Not applicable
Author

Hi Jahanzeb, What I would like is something like this, just not sure how to go about it.

Fiscal Quarter ({$<Fiscal Date Context = 'Entered'>}

agigliotti
MVP
MVP

to achieve what you are asking, you could create a master item dimension as below:

Aggr( Only( {< [Fiscal Date Context] = {'Entered'} >} Fiscal Quarter), [Fiscal Quarter] )

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
zebhashmi
Specialist
Specialist

=replace(text(Fiscal Quarter),Fiscal Quarter,'Entered')