Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Jobis
New 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 1
v-micsh-msft
Microsoft Employee
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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.