Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3229

Setfilter on hierarchy dimension

$
0
0

Hi,

 

I have a bex query which uses IO 0CALMONTH.

In design studio, I need to display chart according to years.

Since I do not have 0CALYEAR in the model, I activated the hierarchy display in the bex query and selected hierarchy 0YEA_MON.

I also display only the first level so the result is years and not months:

years hierarchy.png

This serves me well in the design studio chart:

years chart.png

This displays results for a whole year (for previous year) and YTD for current year.

Meaning: 01.2013 - 11.2015.

 

Now I need the option to display each year relatively to current month.

Meaning: 01.2013 - 11.2013; 01.2014 - 11.2014; 01.2015 - 11.2015.

 

So, I did a test and filtered 0CALMONTH to only 4 month (using Setfilter) to see the result and this is what I get:

month chart.png

 

My question is: how can I keep the hierarchy of years?

 

Thank you all in advance,

Hagit


Viewing all articles
Browse latest Browse all 3229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>