Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anuhyak1
Creator
Creator

Drill down functionality in straight table

I have Org Division and Sub brand value columns in Straight table

When user selects Org Division it further drill down to Subrand but in the Subbrand column it need to display Material description.

Ex:
If one Org Division value is selected, the columns will change to report the following:
Sub Brand
and Subbrand Column drill to Material Desc
Material Desc

If >1 Org Divisions are in selection criteria, table will show as-is (Org Div, Sub Brand)

Ex: IT Cosmetics is selected it drill down to YSBB CC CREAM which is Subbrand and in the Subbrand column it should display corresponding Material description (JT Simmer)

 

orgdiv,subrand.PNG

 

1 Solution

Accepted Solutions
joseph_morales
Creator II
Creator II

Hi @Anuhyak1 ,

You can replace the "Sub Brand" dimension with the following expression as dimension:

=If(GetSelectedCount([Org Division])=1,[Material Desc],
[Sub Brand])

 

 

Best Regards,
Joseph Morales

View solution in original post

4 Replies
joseph_morales
Creator II
Creator II

Hi @Anuhyak1 ,

You can replace the "Sub Brand" dimension with the following expression as dimension:

=If(GetSelectedCount([Org Division])=1,[Material Desc],
[Sub Brand])

 

 

Best Regards,
Joseph Morales
Anuhyak1
Creator
Creator
Author

Thanks

Anuhyak1
Creator
Creator
Author

But how to change the labels of those two fields.Subbrand label change to material description.

joseph_morales
Creator II
Creator II

Hi @Anuhyak1,

You must put a similar expression but as text strings in the dimension label.

 

=If(GetSelectedCount([Org Division])=1,'Material Desc',
'Sub Brand')
Best Regards,
Joseph Morales