Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
tinkerz1
Creator II
Creator II

If statement in a calculated dimension for a pivot table

Hi

When I use a simple 'if' statement in calculated dimesion I only get the true side in my pivot table.

So a date split using a variable for use in month end reporting won't function properly

IF(vdate>0101/2015,'Year2','Year1')

I can not the count on year1's as they are false, but Year2's will show as a dimension.

How to do this?

Thanks

Neil.

2 Replies
sunny_talwar

Not entirely sure I understand what you are looking for. Would you be able to share a sample?

jonathandienst
Partner - Champion III
Partner - Champion III

If this is for fiscal period reporting, then I recommend that you create FiscalYear and FiscalPeriod derived fields in your calendar. Otherwise, please provide more information about what you are trying to achieve.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein