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

Maximum month selection and application of filters

Hello Guys!

I am trying to create a YTM graph using current and last year data. As of now, I want the YTM graph to show values upto June, for last year but I am not sure which expression syntax is to be used here. Once the max no. of months selection has been made, I would like the month filter applied to it so that if I select the first 3 months, the YTM graph shows me data for the first 3 months and so on. I would also like to define the year in this expression. Please suggest as to how this can be done.

Regards,

Rony

8 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Can you share the sample data and explain what you need with example, that will help all of us to understand your requirement clearly.

Regards,

Kaushik Solanki

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

Kaushik,

Below is sample data. I want to create a Year to Month graph defining values upto June, cumulatively and specify the year at the same time, within the expression. Also, month filters should be applicable to this graph so that if I the select the first 3 months in the month filter, the graph shows me cumulative value upto March and so on. Basically, I should be able to define the maximum number of months in the YTM graph and change it according to my requirement.Hope this is more clear. Please advise.

YearMonthValue
2017Jan100
2017Feb200
2017Mar300
2017Apr400
2017May500
2017Jun600
2017Jul700
2017Aug800
2017Sep900
2017Oct1000
2017Nov1100
2017Dec1200
2018Jan1300
2018Feb1400
2018Mar1500
2018Apr1600
2018May1700
2018Jun1800
2018Jul1900
2018Aug2000
2018Sep2100
2018Oct2200
2018Nov2300
2018Dec2400

Regards,

Rony

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Do you mean that by Default it should show data from Jan to dec, but when you select the Aug Month it should show from Jan to Aug?

Regards,

Kaushik Solanki

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

By default it should show upto June. When I select Jan, Feb, March in filter, cumulative value upto March should be shown.

Regards,

Rony

ronman10
Creator
Creator
Author

I am looking for an expression where I can define the maximum number of months I want to show.

Regards,

Rony

ronman10
Creator
Creator
Author

Hi Guys,

Any suggestions on this.?

Regards,

Rony

Anil_Babu_Samineni

Not sure i understand, But is this you are expecting from your sample data?

Capture.PNG

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
ronman10
Creator
Creator
Author

Hi Anil,

I figured this out. Thanks for your response.

Regards,

Rony