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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Problems while querying the data

Hi everyone,

I need to access a database every day to check the weight of a production line that is connected to an online server. The wheight system sends every weight data directly to the server.

 

However, when I update the query or change the filter of my powerbi sheets, the scales stop due to an error sending the data.

 

Are there any changes I can make to the data query to solve this issue? Because I can't stop the production line every time I need to query data.

Thank you.

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

You can refer to this doc about creating a view in SQL Server. Then connect Power BI to this view. 

CREATE VIEW (Transact-SQL) - SQL Server | Microsoft Docs

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Thank you all!

 

The problem was solved by creating a view of the records table.

KNP
Super User
Super User

There's really not enough information to answer this, but, if I had to guess, you could try changing to 'Import' mode if you are currently using 'Direct Query' mode.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
Anonymous
Not applicable

Thank you, but i cant work in "Import" because there is too much data.


I think the problem is related with the fact the scales are writing is in the same sql table that the power bi is reading. 

 

I have an idea that in the older sql the problem was solved by creating an auxiliary table (view table) in sql, but I don't remember how to do it.

 

Thank you

Hi @Anonymous 

 

You can refer to this doc about creating a view in SQL Server. Then connect Power BI to this view. 

CREATE VIEW (Transact-SQL) - SQL Server | Microsoft Docs

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

How much is "too much" data?

It sounds very much like you're running into table locking issues or something similar. 

The query that you are running, how long does it take to complete if you run it in SQL?

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors