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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need to change expression label name according to selection???

Hi All,

         In my app having last 3 years,3 Quarter&3 months bar chart. i wrote lable name, legand shows like this

         current Qtr

         prev Qtr

         last prev Qtr

  but it is not good while seeing client he may confuse.

  i need dynamic changes in label name also as per client selections like this:

  2011-2012 Q1

  2011-2012 Q2

  2011-2012 Q3.

  i  tried max function it's working in year&month but not working in qtr because string is there.

Thanks,

Ashok.

5 Replies
Not applicable
Author

Hi,

Can you provide a sample application?

Regards,

Anonymous
Not applicable
Author

Can you get round the string problem in quarter by testing for Right(Qtr,1) instead ?

Jonathan

Not applicable
Author

Hi,

    Please find my attached application.

I need like this format:

Currnt Qtr:2011-2012 Q1

Prev Qtr:2011-2012 Q2

Last prev Qtr:2011-2012 Q3

Currnt Year:2011-2012

Prev Year:2010-2011

Last Prev Year:2009-2010

Thanks,

  1. Ashok.
Not applicable
Author

Hi,

I tried to implement a solution, it may not be exactly what you need but it may hopefully be helpful.

Pls see the attached file.

Regards,

SunilChauhan
Champion II
Champion II

=getfieldselction(Yearfieldname)&'-'&getfieldselction(Yearfieldname)&' '&

getfieldselction(quarterfieldname)

hope this helps

Sunil Chauhan