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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
dakdgdl
Helper I
Helper I

PowerBI Custom Visual - Enhance the initial view.

Hi Guys..

 

I'm developing a powerbi custom visual, witch is mostly done and ready to go.

For the better look & feel, attraction and the user guidance contents, I'm going to develop the initial empty view of the visual with some HTML tags and images and/or gif animations.

 

For that purpose, I need the visual to fire an event, soon after the visual instance is dragged from the visuals pane to the report/page . That means, this expected event should fire before user drag any data field from the datasource to the capabilities fields.

Currently it fires only the "update" event, when user drag a data field.

 

Is there any available event for this purpose, that fires just after visual dragged on to the report/page.

Or any other feasibility to apply my HTML tags and images/gifs on the initial empty view of visual.

 

Thanks in advance..

Lasantha.

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @dakdgdl,

 

There are capabilities that allow the update method to fire when the data view is empty, which is the Power BI visuals way to handle a landing page. Here's the MS documentation on how to set it up.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

3 REPLIES 3
dm-p
Super User
Super User

Hi @dakdgdl,

 

There are capabilities that allow the update method to fire when the data view is empty, which is the Power BI visuals way to handle a landing page. Here's the MS documentation on how to set it up.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Hi dm-p,

 

That's really perfect..

These 2 capabilities make the update method to trigger even before drag a data field.

 

{

    "supportsLandingPage": true,

    "supportsEmptyDataView": true,

}

 

Thank you very much

Lasantha.

dakdgdl
Helper I
Helper I

Hi Guys..

 

I'm developing a powerbi custom visual, witch is mostly done and ready to go.

For the better look & feel, attraction and the user guidance contents, I'm going to develop the initial empty view of the visual with some HTML tags and images and/or gif animations.

 

For that purpose, I need the visual to fire an event, soon after the visual instance is dragged from the visuals pane to the report/page . That means, this expected event should fire before user drag any data field from the datasource to the capabilities fields.

Currently it fires only the "update" event, when user drag a data field.

 

Is there any available event for this purpose, that fires just after visual dragged on to the report/page.

Or any other feasibility to apply my HTML tags and images/gifs on the initial empty view of visual.

 

Thanks in advance..

Lasantha.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors