Hi @Jatin Kolhe The issue you're encountering stems from Azure Data Explorer's (Kusto) default query result limit, which restricts output to 5L rows or about 64 MB of data. While using set notruncation
works in Power BI Desktop, it doesn’t always guarantee success in the Power BI Service, particularly when incremental refresh is applied.
Key Considerations:
-
set notruncation
: This can help in development, but it doesn't remove all limitations. In Power BI Service, you may still hit constraints like execution timeouts, memory usage, or dataset size limits during refresh. - Export to Azure Blob Storage: Export large volumes from Kusto to Blob Storage (e.g., in Parquet format), then load the data into Power BI. This is generally more reliable and scalable.
- Data Partitioning: Use time-based filters or break your query into smaller chunks to make data retrieval more manageable.
- Optimize Queries: Review your KQL to ensure it’s efficient and minimizes resource usage.
Recommended Approach:
If you're working with millions of rows, exporting data to Azure Blob Storage and connecting Power BI to that source is typically the best practice especially for production dashboards with incremental refresh.
For more details on Kusto query limits, you can refer to the official documentation: Kusto Query Limits.
I hope this information helps. Please do let us know if you have any further queries.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.