Sony Hejmady Posted January 9, 2019 Share Posted January 9, 2019 I have a requirement where I have a column Period of type "String" which has Year and Months data as seen below.For example the below value 1708=2017 year and 08= August Month. Period (String type) --------- 1708 1709 1801 1802 1803 1804 1810 1811 1812 1901 I need to see last 6 months record in line chart. I tried with following expression which works but every time when records keeps piling I need to manually update the Month data.Please help. String("1807") Link to comment Share on other sites More sharing options...
Murari K Posted January 10, 2019 Share Posted January 10, 2019 Please try this in Limit data using expression Concatenate( right(String(Year(dateadd('mm',-6,DateTimeNow()))),2), if(Month(dateadd('mm',-6,DateTimeNow())) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now