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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculated Dimension date set analysis

Hi All

I have a date Calculated dimension which returns for my table only this and last FY.

As this is a calc dimension if I select 2013 it is reducing the data to only the one FY. I would like it to show always the two FY as per the calc date Dimension  regardless of the date selections.

I have sucessfuly performed Set analysis for expresssions - however am struggling for the calc dimension.

I have been playing with the below logic - could someone point me in the right direction pls.

 

 

=if(FinancialYear=vCurFY,vCurFY, If(FinancialYear=VCurFYPrev,VCurFYPrev))

 

//=if({<FinancialYear = {$(CurFY))} ,

DateVal=,FinancialYear=,

FinancialPeriod=,

FinancialWeek = >}

Thanks

Jo

Labels (1)
2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

in set analysis if you want to exclude a selection for example myField you have to

Example:

sum of myVal not considering selection of  myField:

sum({$<myField=>} myVal)

hope it helps

Not applicable
Author

Hi

Thanks for your response.

The field I want to exclude selectio0ns from is a Date so Im not sure how to set the expression out.

Thanks

Jo