The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I am unable to stop the initial rendering of visuals during the loading of dashboard page. I dont want to render all the visuals, just the ones that are selected. Report selection happens in a different page, so everytime i select a different combination of visuals and load the dashboard page, all the visuals get rendered momentarily.
After few seconds i can see the visuals that were selected, i just dont want this intial rendering of all visuals.
I went through the PowerBI-Javascript code base (also the Javascript v2-demo) and tried out multiple scenarios but it wasnt fruitful.
Is there any settings to add while making the API call or is there something else that i need to change in Js code??
I tried with Dynamic Binding and Phase Binding but it did'nt work. Currently i am just hiding all the Visuals using Js, but that's just a work around. Do you have any more suggestions or topics that i can look into?
Hi @Anonymous,
As I said, most of the functions triggered after the report initialized.
If dynamic binding not works, perhaps you can try to use filter to filter visual records to show the blank visual or direct use js script to hide visuals.
Regards,
Xiaoxin Sheng
HI @Anonymous,
I check the official documents and I found most of the functions or events only trigger after the report initialization steps. Dynamic Binding
For this scenario, I'd like to suggest you take a look at the following link about dynamic binding operations.
You can create two datasets and setting one of them has a few blank tables to create visuals you do not want them initialized.
After some actions, you can dynamically refresh the contents and switch the bound datasets to show the visual data that not initialized.
Reference links:
How to handle events#loaded
Regards,
Xiaoxin Sheng
User | Count |
---|---|
5 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
11 | |
7 | |
5 | |
4 | |
4 |