Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
In My Bar chart
My Dimension is
=Pick(Measure ,if(YEAR='$(=max({<NAME={A,B,C,D},QUARTER={'Q4'}>}YEAR))',
YEAR&'-'&QUARTER,
if(YEAR and QUARTER='$(=maxstring({<YEAR={$(=max(YEAR))}>}QUARTER))',YEAR))
,if(YEAR= '$(=max({<NAME={A,B,C,D}>}YEAR))'
and QUARTER='$(=maxstring({<YEAR={$(=max(YEAR))}>}QUARTER))', YEAR
))
Expressions are
=(Avg({<NAME={A},QUARTER={'Q4'}>}VALUE))
=(Avg({<NAME={B},QUARTER={'Q4'}>}VALUE))
=(Avg({<NAME={C},QUARTER={'Q4'}>}VALUE))
=(Avg({<NAME={D},QUARTER={'Q4'}>}VALUE))
Presently we are showing for the max year with quarter in the chart as dimension and we are restricting with quarter-Q4. But we have data for the latest year 2015 Q1,Q2 and we required to show fo only latest year as 2015 Q2 in the chart and previous years should be calculated only Q4 and shoudl be shown as 2012,2013,2014,2015-Q2.
The above process should be done dynamically.
Please help me on this jagan MRKachhiaIMP
this requirement we have only this chart so i dont want to change anything in the datamodel level.
No it should show like this Only 2015-Q2,2014,2013,2012,2011,2010 in dimension
and from 2014 to 2010 for these years show be calaculate only Q4 quarter data
please suggest me
Hi Avinash,
Not mentioning quarters for rest of the other years is ok. You can do these thing inside the script.
Thanks,
Koushik