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

Dynamic lables in pivot table

Hi,

In my pivot table, I need to show data for today, last month end, last quarter end.

My requirement is that, I wish to show lables as LastMonthEnd <date on last monthend>.

I tried using expression for lable as: 'Prior Quarter End'  & =DATE(QuarterEnd(max(Date),-1), 'YYYY-MM-DD')

But it is not working.

However if I use expression as: =DATE(QuarterEnd(max(Date),-1), 'YYYY-MM-DD')  & 'Prior Quarter End'   then it works.

But I wish to dispaly text 'Prior quarter end' first and then contactinated with date.

Please guide me how to achive it.

Labels (1)
1 Reply
Not applicable
Author

Rohit,

Try this out. Problem with your code was "=" sign was misplaced near date. "=" sign should be always at the starting of the expression.

='Prior Quarter End'  & DATE(QuarterEnd(max(Date),-1), 'YYYY-MM-DD').

-Sridhar