cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Amey_R_J Frequent Visitor
Frequent Visitor

I want to create dynamic title for slicer values selected (Please note multi level hierarchy)

Hi All,

I want to create a dynamic title with respect to the values selected in my hierarchy slicer.

 

Please Note: I am having multiple levels to show not only a single level that we can do using

CONCATENATEX() function.

 

The scenario is :

 

1. I am having Product-Category, Sub-Category, and Product in my hierarchy. I am using adventureworks2012 database.

 

2. I have imported hierarchy slicer from the market place and added my hierarchy in that.

 

3. Now In my hierarchy slicer, I can select Product-Category, Sub-Category, and Product.

      i. If I select all Products from any Sub-Category then I should show the result as the Subcategory Name, instead of a list of Products Name concatenated in the title.

     ii. If I select all Sub-Categories from any Category then I should show the result as the Category Name, instead of a list of Sub-Category Name concatenated in the title. 

 

Please find below screenshot for your reference:- DynamicTitle_ExpectedResult.pngWhole scenario is explained in text box

 

DynamicTitle_Dataset.pngDataset look if you need

 

Thank You

Amey

2 REPLIES 2
TeigeGao Super Contributor
Super Contributor

Re: I want to create dynamic title for slicer values selected (Please note multi level hierarchy)

Hi @Amey_R_J ,

We can try to use CONCATENATEX() function to combine each level, then use CONCATENATE() function to combine all these levels, we can use if(.... = blank()) to judge if each level have content.

Best Regards,

Teige

Amey_R_J Frequent Visitor
Frequent Visitor

Re: I want to create dynamic title for slicer values selected (Please note multi level hierarchy)

Hi @TeigeGao ,

 

I don't want to combine all levels selected but instead if all members are selected from lower level then instead of showing all the selected members I want to show the level above that.

 

DynamicTitle_ExpectedResult.png

 

Regards

Amey