Forum Discussion

Jobis's avatar
Jobis
New Member
8 years ago

How to replace an empty report with label or text?

I have an Asp.Net application in which I'm Embedding power bi report with row level security using angular 2. After Applying Row Level Security  in the report, if there is no data according to the role.  I need to print  some Label/text rather than empty table.

 

Is it Possible?

1 Reply

  • v-micsh-msft's avatar
    v-micsh-msft
    Microsoft Employee

    Power BI-Angular client is deprecated and is no longer supported.

    Read more here:

    Deprecation notice

     

     

    As far as I can tell, replace visual with label/text based on the data loaded in it is not available.

     

    We could hide the visual through the custom layout by setting the 

    VisualContainerDisplayMode

    to hidden.

     

    There is no API available to check if the report/visual displays no data in it.

    Check the WIKI here:

    Reports

     

    Regards,

    Michael