Slice rows not supported with active property

Answered
Ravi asked on June 28, 2019

Hi Team,
I’m a Premium licensed user.

We are in need to hide slice values based on active property which is supported with slice measures but not with slice rows.

Please refer the following JSFiddle for further clarification.
https://jsfiddle.net/yqv16xjL/1/
Note:

  • In JSFiddle, set “active”: false to Column2(slice rows) and Data value2(slice measures) values.
  • As a result, Data value2 is hidden but Column2 is not hidden.

Can you let us know the way to hide slice row values?

Regards,
Ravi

1 answer

Public
Tanya Gryshko Flexmonster June 28, 2019

Hello, Ravi,

Thank you for writing to us.

We would like to inform you that active property is available for measures only. That is the reason it works with measures only.
While working with rows, we kindly suggest adding and removing them from the slice. Please note that you can change the slice along with other report parts using the API call setReport(). To change only the slice use the runQuery() call.

Hope it helps.

Regards,
Tanya

Please login or Register to Submit Answer