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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DrillDownBI
Helper I
Helper I

Streaming Dataset from local txt file

Hi,

I have a .txt-log file that updates every 1 sec, this is located on a local disc.

Is it possible to use a Streaming Dataset (in service) to read from this file?

The file has timestamp and 5 measure value. 

5 REPLIES 5
DrillDownBI
Helper I
Helper I

Hi @Migasuke 

1. You need some service, which will push data into dataset. --> OK, some service you said, can you elaborate
2. Real-time dashboards are different from reports. --> Yes I will use Dashboard
3. Data can be pushed max. once per 1 second. --> Will be perfect for my use

1. Having either Azure Stream, script on Virtual Machine, eventually have some on premises computer, which would run the script (I personally use Raspberry Pi for real.time). Personally if you can, try it first with your local pc. Write some script , script can run locally and when you see the bavior publish it on VM.



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

I'm going to use the API, nothing else could be used for my purpose. But then, how should I get the txt-data into Power BI?

This is the most difficult part, where I can't help.
You need script, ie Python, Power Shell etc. which will read the file, take the new text, wrap it into JSON and send it to PBI Service.
Ofcourse writing this script can be extremely difficult. I would recommend to check other communities, which are focusing on this topic.

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Migasuke
Memorable Member
Memorable Member

Hi @DrillDownBI ,

Yes you can take advantage of streaming dataset, just bear in mind few things:
1. You need some service, which will push data into dataset.
2. Real-time dashboards are different from reports.
3. Data can be pushed max. once per 1 second.

Check more here:
https://learn.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.