Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakqlikview_123
Specialist
Specialist

Modifications on chart

Hi All,

PFA.

We have yearly data but on chart(on x axis) we have to show MAR-Yearname (Mar1990,Mar1991) but data should be yearly.

Can you please suggest on this

Thanks

7 Replies
MK_QSL
MVP
MVP

If you have Date Field in your Script, create MonthYear as below

Date(MonthStart(Date),'MMMYYYY') as MonthYear...

Now use below as calculated dimension in your chart

=Aggr(IF(WildMatch(MonthYear,'Mar*'),MonthYear),MonthYear)

Not applicable

You do not have a Year colomn in your script? because that would be the easiest.

I suggest editing your script and add a Year Column.

deepakqlikview_123
Specialist
Specialist
Author

Hi Manish,

It is not working.

Thanks

deepakqlikview_123
Specialist
Specialist
Author

Hi Manish,,

After modifying script suggested by you I am able to see data only for march for all years.

When i click on other month it is showing blank.

Thanks

MK_QSL
MVP
MVP

Provide sample application...

PrashantSangle

Hi,

After modifing script as suggested by Mr. Manish.

Just add MonthYear as your Dimension.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Deepak,

change expression like below

 

=

Sum({<MonthYear={'Mar'}>}aggr(Nodistinct sum(Amount),Year))