March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Following the documentation at:
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/bind-report-datasets
I created a report that connects to Database A.
I cloned the report and connected it to Database B.
Both are identical (except for data).
Both are added to Azure on the same account, same permissions.
I can use the sample from https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Core/Embed%20for%20your%20...
and connect to both.
But when I try to use dynamic binding and make report A connect to Dataset B, it doesn't work. It either opens the original dataset if I leave the dataset id on the token request, or nothing shows up if I omit it.
I am sending both dataset IDs to the token request.
Even setting the id on the javascript options as the documentation above mentions, it doesn't work.
Apparently there's an 403 error.
Solved! Go to Solution.
Fixed, the problem was that the javascript on the example app was not marked with asp-append-version="true".
So the changes in ID I was making were not taking effect.
Fixed, the problem was that the javascript on the example app was not marked with asp-append-version="true".
So the changes in ID I was making were not taking effect.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
6 | |
3 | |
2 | |
2 | |
2 |