Skip to main content

QueryCube.unload_members_from_data_cube(members, *, data_cube_id, level, scenario_name=‘Base’)

Unload the given members of a level from a data cube. This is mostly used for data rollover.
This requires the query cube to have been created with allow_data_duplication set to True and with non empty distributing_levels.
  • Parameters:
    • members (Set [bool | int | float | date | datetime | time | str ]) – The members to unload.
    • data_cube_id (str) – The ID of the data cube from which to unload the members. This must be equal to the id_in_cluster argument passed to create_cube().
    • level (HasIdentifier *[*LevelIdentifier ] | LevelIdentifier | tuple [str , str , str ]) – The level containing the members to unload.
    • scenario_name (str) – The name of the scenario from which facts must unloaded.
  • Return type: None

Example

Setting up the query cube:
Defining some functions:
Setting up the data cube:
Waiting for the data cube to join the cluster:
Unloading the facts associated with the London and Madrid members: