Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Conditionally hide a column

Accepted answer
42
Views
6
Comments

Is it possible to hide a Column on a table/pivot based on a (filter based) parameter value?

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • Hi,

    If you are working in DV, not really… It is a right-click property only so far. There doesn't seem to be a way to dynamically influence that, or set a parameter or a condition on it.

    It's maybe worth looking in Site faviconOracle Analytics Cloud and Server Idea Lab

    if there is already an idea to make this feature "smarter" and up-vote it. If there isn't one, sounds like a good idea to create one.

Answers

  • You could create a case when formula to check for variable value and show blank ' ' or the actual column but this will show a blank column, its not same as hiding.

    Other comments welcome!

  • Rank 4 - Community Specialist

    Thanks - yes, the user does not want a blank column. They want the column gone.

  • Have you tried using parameters to simply create column selectors. Not exactly what you need but could help, see this video https://youtu.be/QqSrXvFhOmE

    Also, here is a more convoluted path to do something similar, not the same but may help for similar cases :
    - if you can define your DV datasource with a SQL (a DB or a logical SQL)
    - then have some of the SQL query columns defined via Session Variables (OA Server Session vars)
    - in the canvas, define parameters to set values to these session variables (see this video https://youtu.be/LSLgmMzYp-E)

    That way, the end user can further influence the definition of the datasource directly from the canvas. Again, this will not answer your need because changing the definition of the underlying source will likely simply 'break' the viz.

  • Rank 4 - Community Specialist

    Added an idea here:

    Dynamically hide a column

  • Thanks, up-voted !

Welcome!

It looks like you're new here. Sign in or register to get started.