Skip to Content

How to select set of dimension using Radio Button?

May 04 at 06:05 AM


avatar image


We are Currently using Lumira Designer 2.1 SP01

In my data source have 10 dimensions and 4 key figures.

Initial 5 dimensions and 4 key figures show on crosstab.

My scenario is how to show 1st 5 dimensions & 4 Key figures in one set and remaining 5 dimensions and 4 key figures in another set using Radion Button.

and how to show Radion buttons items in bold.


Data Source: DS_1

10 Dimensions : D1,D2,D3,D4,D5,D6,D7,D8,D9 & D10

4 Key Figures : K1,K2,K3 & K4

Only one Crosstab1

Using Radion Button

Items : Dimesion_Set1 and Dimension_Set2

If select Dimesion_Set1 then crosstab1 display D1,D2,D3,D4,D5 and K1,K2,K3 & K4

If I select Dimesion_Set2 then crosstab1 display D6,D7,D8,D9 & D10 and K1,K2,K3 & K4

Note : here only dimension changes not kyf figures.

Please share valuable inputs.


Chandrasekhar .K

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Arijit Das May 04 at 08:43 AM

In on-select event of radio button, you can use following functions as required to alter the dimensions based on selected value in radio button:

  • <DS_ALIAS>.removeDimension(dimension)
  • <DS_ALIAS>.moveDimensionToRows(dimension)
  • <DS_ALIAS>.moveDimensionToColumns(dimension)

You can show the items in bold using css below:

.myRadioButton .sapMLabel{
	font-weight: bold;

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you, Arijit for your quick response.

Radio button scenario working and CSS code are working now.