Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
krishna20
Specialist II
Specialist II

Dimension in Bar Chart

Hi Community,

I need to display month and year at X-Axis in Bar Chart, for last three years.Eg;Jan-2012....Dec-2012 .I need to take Calculated Dimension.Having Field as TP_APPR_DT in numeric format.

Please anyone suggest me how to solve it.

Thanks & Regards

Krishna

1 Solution

Accepted Solutions
avinashelite

Hi Kalyan,

Try like this

=if(year(TP_MonthYear)>='2012',Date(TP_MonthYear,'MMM-YYYY'))

or

=if(year(TP_MonthYear)>='2012',MonthName(TP_MonthYear)) and check the suppress null.

please find the attachment for the same

View solution in original post

7 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Can you attach sample data with expected output.

Regards

ASHFAQ

krishna20
Specialist II
Specialist II
Author

Dear Mohammed,

Please find the attachments,and guide me how to solve it.

Regards

Krishna

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Use dimension as Floor(TP_APPR_DT )

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
avinashelite

Hi Kalyan,

Try like this

=if(year(TP_MonthYear)>='2012',Date(TP_MonthYear,'MMM-YYYY'))

or

=if(year(TP_MonthYear)>='2012',MonthName(TP_MonthYear)) and check the suppress null.

please find the attachment for the same

er_mohit
Master II
Master II

Try this instead of if condition

Monthname(TP_MonthYear)

krishna20
Specialist II
Specialist II
Author

Thank You Avinash

Regards

Krishna

avinashelite