Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to create a line chart by selecting the latest year and quarter. PERIOD field has values like:
2013 1Q
2013 1H
2013 2Q
2013 FY
2012 4Q
2012 2H
...
I need to look for 2013 2Q for example.
Is there any finction that I could use or need to split it by Substring() ?
=maxstring({<PERIOD = {'???? ?Q'}>}PERIOD)
=maxstring({<PERIOD = {'???? ?Q'}>}PERIOD)
This worked fine in a Text Object but can't seem to use it as a calculated Dimension in a Straight Chart.
Make a variable (i.e. vMaxQuarter with the expression from above), then make your dimension on the chart:
=if(PERIOD = vMaxQuarter, PERIOD)