cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting with Hierarchy (node)Variable

gunesbt
Active Contributor
0 Kudos

Hi all,

I have 0country and a hierarchy on it.It is like World>Continens>Countries . I want to see the sales of a continent which is asked to user i.e I want to restrict the key figure revenue with the continent that will be asked to the user.So I tried to create hierarchy node variable.However, query designer does not allow me to restrict a KEY FIGURE with hierarchy node variable(It claims that I am using the variable incorrectly)

Then I tried to restrict it with a hierarchy variable(not node variable) But I can not select the hierarchy variable when I try to restrict the key figure.It only displays characteristic value variable and hierarchy node variable in the variable restriction screen.Not hierarchy variables.

To sum up: How can I restrict a key figure with a node in the hierarchy i.e how can I see the sales of a continent

Regards,

Sunny

Accepted Solutions (1)

Accepted Solutions (1)

former_member182470
Active Contributor
0 Kudos

Hi,

Step 1: Create a Hierarchy variable

Step 2: Select the required single value in variable screen

Regards,

Suman

gunesbt
Active Contributor
0 Kudos

Dear Suman,

As I told, I have already done what you have said and when I do that the warning says "The variable ZVar_0country is not available or not used correctly" when I try to restrict the key figure with the hierarchy node variable.

And when I try to restrict the key figure with the hierarchy variable, it does not appear in the restriction screen, only node variables are displayed so I can not restrict 0country with a hierarchy variable.

I started to think that these types of variables are only used for displaying, not filtering the data.

Answers (1)

Answers (1)

anshu_lilhori
Active Contributor
0 Kudos

Hi,

Please check out this link.

It might be helpful for you.

Regards,

AL