Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I am using SQL Server as a data source with DirectQuery. There is just one table with 6 fields that contains more than 100 million rows. My report contains one visual "Card" that should display count of values from particular field. This report is embedded on a web page. As I don't want to get count of all values I use Power BI API to filter by some name. My filter looks like this:
Snippet
var filter = { $schema: "http://powerbi.com/product/schema#advanced", target: { table: "MyTable", column: "MyColumn" }, logicalOperator: "And", conditions: [ { operator: "Contains", value: "FilteredValue" } ] };
The problem is that it doesn't get any result. I can see just loading spinner on my visual. I've tried the same filter for small database with 10 rows and it works as expected.
Any ideas?
@andriikubrak wrote:
I am using SQL Server as a data source with DirectQuery. There is just one table with 6 fields that contains more than 100 million rows. My report contains one visual "Card" that should display count of values from particular field. This report is embedded on a web page. As I don't want to get count of all values I use Power BI API to filter by some name. My filter looks like this:
Snippet
var filter = { $schema: "http://powerbi.com/product/schema#advanced", target: { table: "MyTable", column: "MyColumn" }, logicalOperator: "And", conditions: [ { operator: "Contains", value: "FilteredValue" } ] };The problem is that it doesn't get any result. I can see just loading spinner on my visual. I've tried the same filter for small database with 10 rows and it works as expected.
Any ideas?
Would the loading spinner finally finish and visual get loaded with data? I think is a performance issue which is limited by your Azure database service tier.
After waiting for half an hour loading spinner stopped and I got a message "Couldn't load the data for this visual" with Http Status Code: 500. What do you mean by Azure SQL Database? How is this related to my case if I use MS SQL Server as a database server? Is there possibilty that PowerBI doesn't handle such big data?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |