Skip to content

Sensitivity label metadata and semantic model partial deployment #492

@dagen6

Description

@dagen6

Hi Michael,

I am consolidating a couple of questions into a single post, I hope that's ok 🙂

  1. Is there any function within the sempy.fabric or sempy_labs package - available also to non-Fabric admins - that would return the sensitivity label ("Internal", "Confidential", etc.) of objects in a workspace? I tried looking for it but can't seem to find it.

  2. The sempy_labs.deploy_semantic_model() function is really great. I'm just wondering, would there be a way to use it to only do a partial deployment of the model? Meaning, we deploy the model, but only selected columns and measures? Some context here: in my org there is the need to share semantic models with stakeholders, but some of the attributes are sensitive and cannot be shared.

  3. [Somehow related to point 2.] Is there any function that would hide columns or measures in a semantic model? The programmatic equivalent of hitting the "hide" eye icon on an attribute in the Power BI Desktop model view. Some context: in my org we are after a way to only share columns and measures that are not used in visuals - it would be great to have an automatic and programmatic way to do that, that would not require clicking on objects and hiding them one by one.

Thank you very much in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions