Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple dataviews: Visual not loading #11

Closed
rwedoff opened this issue Aug 5, 2016 · 3 comments
Closed

Add multiple dataviews: Visual not loading #11

rwedoff opened this issue Aug 5, 2016 · 3 comments
Labels

Comments

@rwedoff
Copy link

rwedoff commented Aug 5, 2016

When trying to add multiple dataviews into capabilities
the visual doesn't load. Only getting the loading circle in the top left corner.

capabilites.txt

@itslenny
Copy link
Contributor

itslenny commented Aug 5, 2016

This is a limitation of Power BI. Your visual's data mapping cannot request data that would result in more than one query. Generally, you should only use 1 data mapping at a time. You can use conditions to switch between them, but only 1 data mapping should be valid under any set of conditions otherwise the query will fail and result in the loading circle that you're seeing.

@Zahma
Copy link

Zahma commented Jan 15, 2018

@itslenny Hello, how can we set conditions inside the capabilities.json to switch between different dataviews ?

@ignatvilesov
Copy link
Contributor

Power BI Custom Visuals API doesn't support more than a data view.
In other words, there's no ability to switch to another dataView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants