cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Dimension filed dynamically in Hierarchy chart?

chandrasekhar6
Participant
0 Kudos

Hi Team

I have create a Calculation view with time based hierarchy like Year-->Quarter-->Month.

Create a Analytics Application using Calculation view it shows output as below,

In above select year field but Dimension shows Month

how to change dynamically field name.

Thanks,

Chandrasekhar

MustafaBensan
Active Contributor
0 Kudos

Hi Chandrasekhar,

Can you post a screenshot of:

1) The data source Initial View

2) The chart configuration panel.

Thanks,

Mustafa.

chandrasekhar6
Participant
0 Kudos

Hi Mustafa,

Please find screen shots,

1.

2.

Thanks,

Chandrasekhar

Accepted Solutions (0)

Answers (2)

Answers (2)

MustafaBensan
Active Contributor
0 Kudos

Hi Chandra,

Based on the data source Initial View, the chart behaviour you are experiencing is completely as expected. Since your time hierarchy is constructed on year > quarter > month, you should activate the hierarchy on the year dimension instead of the month dimension and place the year dimension in the rows instead of the month dimension.

Regards,

Mustafa.

chandrasekhar6
Participant
0 Kudos

Hi Mustafa,

Thanks for reply,

I tried your process but I am getting hierarchy

In edit initial view,

and output chart ,

Thanks,

Chandrasekhar .K

MustafaBensan
Active Contributor
0 Kudos

If you don't want the hierarchy then you should deactivate it in the initial view.

chandrasekhar6
Participant
0 Kudos

When I was deactivate hierarchy in initial view hierarchy not working in chart.

TammyPowlas
Active Contributor
0 Kudos

Hello Chandra,

Which version/SP are you using?

Have you seen this blog - https://blogs.sap.com/2015/08/14/dynamic-day-selection-for-a-component/ - I wonder if the script would work against the calculation view.

chandrasekhar6
Participant
0 Kudos

Hi Tammy,

Thanks for your quick response.

We are using Lumira 2.0 SP02.

Thanks,

Chandrasekhar

TammyPowlas
Active Contributor
0 Kudos

Chandra - then I will look at the script option in the blog. I am not sure if it will work with HANA calc views.