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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jugurtha
Frequent Visitor

Custom visual PowerBi Javascript

Hi All,

I would like to know how i can do the difference between filled visual with non empty values, and an empty visual which has an empty values with the javascript api PowerBi.

I tried with the title but when i filled the title with fonction like in the picture bellow, the code javascript visual[i].title return a null value when the title is not null.

Capture6.PNG

Thank you.

1 REPLY 1
amitchandak
Super User
Super User

@jugurtha , refer if this can help

https://stackoverflow.com/questions/54152583/how-to-get-titles-of-the-pages-of-a-powerbi-report-in-j...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.