Forum Discussion
Limitation to Direct Query Refresh? https://github.com/microsoft/PowerBI-JavaScript/wiki/Embedding
- 7 years ago
Hi Anonymous ,
I can't give you an accurate answer. However, you can make an idea in Ideas forum to let more people see your requirements:
https://ideas.powerbi.com/forums/265200-power-bi-ideas
Hi Anonymous ,
There are currently a few limitations to using DirectQuery:
-
All tables must come from a single database, unless using composite models
-
If the Query Editor query is overly complex, an error will occur. To remedy the error you must either delete the problematic step in Query Editor, or Import the data instead of using DirectQuery. For multi-dimensional sources like SAP Business Warehouse, there is no Query Editor
-
Time intelligence capabilities are not available in DirectQuery. For example, special treatment of date columns (year, quarter, month, day, so on) is not supported in DirectQuery mode.
-
Limitations are placed on DAX expressions allowed in measures to ensure that queries sent to the underlying data source have acceptable performance.
-
There is a one-million-row limit for returning data when using DirectQuery. The limit does not affect aggregations or calculations used to create the dataset returned using DirectQuery, only the rows returned. For example, you can aggregate 10 million rows with your query that runs on the data source, and accurately return the results of that aggregation to Power BI using DirectQuery as long as the data returned to Power BI is less than 1 million rows. If more than 1 million rows would be returned from DirectQuery, Power BI returns an error.
Best Regards,
Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you for your prompt reply. Is there a limitation to the number of refreshes? Our POC has embedded Power BI dashboard in a .net application and when data is updated by user, we want to trigger a refresh.
- v-eachen-msft7 years ago
Community Support
Hi Anonymous ,
The Data Refresh API shares the same limitation(8 times per day) with "Schedule Refresh" with a Pro license. After exceeding the limitation, the API call would get the response saying "Number of refresh requests in last 24 hours exceeded limit".
If you'd like to lift this limitation, you may have to buy a premium license(48 times per day).
- Anonymous7 years agoNot applicable
Thanks for your reply. However, the 48 times a day limits the true integration with a web application where more updates are possible.
I have another question
is there a limitation to the kind of data source used to refresh using javascript API
- v-eachen-msft7 years ago
Community Support
Hi Anonymous ,
There is no limit on the kind of data source.