Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Are there any limitation to Power BI direct query refresh?
Document link : https://github.com/microsoft/PowerBI-JavaScript/wiki/Embedding---Basic-interactions
Refresh the underlined data of a report without reset current filters and user interactions. Works only in Direct Query mode. The code below assumes element with id myReport already contains an embedded report:
var element = document.getElementById('#myReport');
var report = powerbi.get(element);
report.refresh()
.catch(error => { ... });
Solved! Go to Solution.
Hi @saujanyae ,
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 @saujanyae ,
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.
Hi @saujanyae ,
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).
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
Hi @saujanyae ,
There is no limit on the kind of data source.
Thank you for your prompt reply.
Do you think in the future the limit on the number of data refreshes will be removed?
This will help with complete integration with web applications where we have multiple users making updates impacting backend database.
Hi @saujanyae ,
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
Thank you for your response. I have created an "idea" in forums for this limitation.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
71 | |
56 | |
39 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |