Skip to main content

We are trying to create a dynamic olap table in new views.

Requirement is we have 20 columns in a table.

in summary olap we need to show only 5 columns.

in details olap we show all 20 columns from the same table.

currently we have created 2 olaps in new views.

the user does not want multiple olaps but needs a solution where there will be a radio button/dropdown with 2 options: summary & details. on clicking any of them the same olap will display 5/20 columns on the same olap.

there is no option to show/hide olaps columns based on variables etc.

 

I tried with creating an enhanced variable inside the view & also inside KM.

I added a popup button where on changing the button options i set the variable to boolean true & false .

Then i set the hide attribute in the table column's yaml code with the boolean variable.

Even though the variable is changing on selecting the popup options - i dont see the column hiding/showing accordingly. Its not dynamically changing.

@biswajit.jena12 Did you try embedded views?

Believe this is easy to achieve via embedded view.


@kalpesh.yogi  - We are using the new views that got released in May this year. The legacy views has the embedded views functionality which would have got the job done. But in new views i was unable to use embedded views. Its not available yet i guess. I will have another look though. Thanks for the suggestion 😊


Reply