Forum Discussion
Jobis
8 years agoNew Member
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-msftMicrosoft Employee
Power BI-Angular client is deprecated and is no longer supported.
Read more here:
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:
Regards,
Michael