atoti.Measure.visible#

property Measure.visible: bool#

Whether the measure is visible or not.

Example

>>> df = pd.DataFrame(
...     columns=["Product", "Price"],
...     data=[
...         ("phone", 560),
...         ("headset", 80),
...         ("watch", 250),
...     ],
... )
>>> table = session.read_pandas(
...     df, keys=["Product"], table_name="Visible example"
... )
>>> cube = session.create_cube(table)
>>> m = cube.measures
>>> m["Price.SUM"].visible
True
>>> m["Price.SUM"].visible = False
>>> m["Price.SUM"].visible
False
>>> m["contributors.COUNT"].visible
True
>>> m["contributors.COUNT"].visible = False
>>> m["contributors.COUNT"].visible
False