Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone
Today we have discovered that the reports embedded in our web application (through the Javascript API) are not working as they should be. The report is embedded and filtered by some values in our web page. If those values doesnt exist in the target table, the report was rendering without showing any data just with the empty visuals.
Now the report renders showing data when it shouldn't like if there was no filter applied. Whenever you interact with it (slicer, going to another page) the data disappears but on the initial rendering is showing values that shouldn't be displaying (like it was cached).
If a try to render the report twice, it works as intended but the first always displays things that it shouldn't.
Any ideas? (All the reports datasource are SSAS Tabular through live connection.)
Thank you very much in advance
Solved! Go to Solution.
Finally solved it adding the following code after the embedding takes part:
report.on('loaded', function () { report.setFilters(filters) });
Seems to work so far 🙂
Finally solved it adding the following code after the embedding takes part:
report.on('loaded', function () { report.setFilters(filters) });
Seems to work so far 🙂
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |