wallabyway / powerBI-tandem-viewer

This is the visual component for Tandem Viewer, embedded inside PowerBi
https://app.powerbi.com/groups/me/reports/7cbd742c-5dab-451a-9f20-7d38e9c0e456/ReportSection?experience=power-bi
MIT License
6 stars 2 forks source link

Viewer bug #1

Open Alecapra96 opened 1 year ago

Alecapra96 commented 1 year ago

The viewer , when an unr is placed on it , shows a different model and always the same

wallabyway commented 1 year ago

Right now, it's a demo.

I can change the model loaded, by setting the facility array value:

https://github.com/wallabyway/powerBI-tandem-viewer/blob/67b1ce79258b426a46ef59c168c8fda9a4aec385/src/visual.ts#L57

in this case, I'm choosing allFacilities[2]

Note, that I must add the service account and generate my 2-legged token... https://wallabyway.github.io/dummy-docs/gettingStarted/intro.html#adding-permissions-to-tandem

This walkthrough might help: https://github.com/wallabyway/tandem-api-hello-world