Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

evolution for the last 24 months

Hello Guys

I need a graph that contains the evolution of my KPI for the past 24 months

here's my graph :

Capture.JPG

my expression : month(DATE_CALCUL) and date calcul has this format : DD/MM/YYYY

4 Replies
vinieme12
Champion III
Champion III

read this post

Dates in Set Analysis

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anil_Babu_Samineni

Last  24 months for what? While selection you need <24 Months? Can you describe more

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

Dear Weim
I have an idea

your chart can calculate all months value but shows last  24 months (actually it has not good performance but solve your problem)
for this can  set "when number of item exceeds" =24 in presentation tab  and this macro to save scroll of chart at right the macro as below:

set chart = ActiveDocument.GetSheetObject("CH01")

set chartProperties = chart.GetProperties

chartProperties.ChartProperties.XScrollInitRight = true

chart.SetProperties chartProperties

I prepare sample for u but I show the last 4 months value

hope it is helpful for u

master_student
Creator III
Creator III
Author

Thank you Samane, will try and let you know