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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
srg231985
Regular Visitor

How to query data from Aspen IP21 using ODBC in Real Time.

powerquery.JPGHello Team,

I am trying to query data from Aspen IP21 using ODBC in Real Time. My below query works perfectly fine & it fetches data between a particular time stamp. Now i want to make timestamp value dynamic so it reference value based on real time. In current query it's static. 

How can i make time stamp dynamic value based on real time value or atleast user entered value.

 

= Odbc.Query("dsn=IP21-XXX", "select *from ip_analogdef where name='TIXXX/DACB.PV' and ip_trend_time between timestamp'2020-05-06 00:00:00' and timestamp'2020-05-06 01:00:00';")

 
1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @srg231985 ,

 

Power BI Desktop doesn't support real-time refresh.

Here is a PowerShell script that opens Power BI Desktop and sends a key to the Refresh button. 
https://prologika.com/automating-power-bi-desktop-refresh/

Under normal circumstances, you can create streaming dataset in Power BI Service and use Rest API to push data to streaming dataset. Here is the document for your reference.

https://docs.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @srg231985 ,

 

Power BI Desktop doesn't support real-time refresh.

Here is a PowerShell script that opens Power BI Desktop and sends a key to the Refresh button. 
https://prologika.com/automating-power-bi-desktop-refresh/

Under normal circumstances, you can create streaming dataset in Power BI Service and use Rest API to push data to streaming dataset. Here is the document for your reference.

https://docs.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

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