Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Astorre
Regular Visitor

SQL query with user defined parameters (slicer, filter, input value) - Big Data

Hi guys,

 

I have an SQL table with ~2TB of time series sensor data, and couple billions of rows, and I want to visualize parts of the table in Power BI.

 

The table itself is fast - considering the size - because there are a lot of indexes on it. But still if I make a report of it Power BI wants to load the whole table - which is impossible. However I never need the entire table, only really small portions of it.

 

I want to be able to let the user choose which type of data he/she needs, and only query those!! In my mind it is a simple task, because I put a couple of filters on the page, the user chooses which types of data in which time frame he needs, and than Power BI composes and SQL command (with a couple of WHERE conditions) and only gets those records! BUT for some reason (after couple of days of searching) I cannot find a way to do it...

 

I undestand that I can break my table up to smaller pieces, and make reports to each portion of the table, but than I lose the dynamics of it... I deprive from my user the opportunity of customization! And than Power BI is no better than Excel (actually it would be worse). I hope this isn't the case and I'm just missing something super obvious 🙂

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Astorre ,
 
Such a large amount of data,i would suggest you to use Premium capacity.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tad17
Solution Sage
Solution Sage

Hi @Astorre 

 

I'm not sure if I understand your need, but I don't think dynamic queries are an option. It kind of defeats the point of Power BI. My thought is you should import the entire SQL table using import method, set up a scheduled refresh when no will be using the report, and then set up a slicer or multiple reports/dashboards to suit the various end user needs. This is what Power BI is intended for.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors