Microsoft Fabric (Part 3)
Neil Haddley • November 27, 2026
I streamed Microsoft's sample bike-share events into a Fabric Eventhouse, queried them with KQL as they arrived, switched on OneLake availability, timed how long the same rows took to reach the SQL analytics endpoint, and built a live dashboard.
In Part 1 I loaded a CSV into a Lakehouse. In Part 2 I linked a Dataverse table and timed how long a change took to arrive. In this post I try the third kind of data: a stream of events that never stops.
Fabric has a different engine for that, called an Eventhouse. I streamed events into one, queried them with KQL while they arrived, and then measured how long the same rows took to appear in the lake that the SQL endpoint reads.
I did not stream my sales orders. They are a batch, and a batch belongs in a Lakehouse. Instead I used the Bicycles sample source that Eventstream offers, which is a bike-share feed, not sales data.
What an Eventhouse is
An Eventhouse is a Fabric item for events that carry a time stamp, such as logs, telemetry and sensor readings. It holds one or more KQL databases. You query it with KQL (Kusto Query Language), not T-SQL or Spark. It is the Kusto engine from Azure Data Explorer.
How this relates to my MQTT posts
In 2021 I wrote about MQTT in Internet of Things (Part 1) and Internet of Things (Part 2). I ran a Mosquitto broker in Docker, and also used a public test broker. An ESP8266 published messages to it, and in the second post a DHT11 sensor sent temperature readings. Node-RED published and subscribed too, and I turned an LED on by publishing 1 to a topic.
Those posts never stored the readings. The messages passed through the broker and I watched them in MQTT Explorer. That is the gap an Eventhouse fills, and it is the only link between the two sets of posts.
Create the Eventhouse and the stream
In my workspace I created an Eventhouse called SalesEvents. The name is a leftover from my plan to stream sales. Fabric created a KQL database of the same name inside it. I then created an Eventstream called SalesStream.
I chose Use sample data and kept the default, Bicycles. This is a sample feed that Fabric generates itself, so I wrote none of it. It holds readings from bike-share stations: a street, a neighbourhood, a position, the number of bikes and the number of empty docks. The street names are London ones. I counted 120 stations, and each station repeats every 10 seconds or so. The feed keeps sending until you stop it.
Send the stream to the Eventhouse
I chose Add destination, then Eventhouse, picked Direct ingestion, and selected my SalesEvents Eventhouse and KQL database.
I published again, and it succeeded.
Publishing was not enough. With direct ingestion the destination still said KQL data stream was not configured, and no table existed. I opened the destination's Details tab and clicked Configure KQL data connection.
A Get data wizard opened. I chose New table and named it BikeEvents.
The wizard inspected a sample of 50 events. This is where I found out what the Bicycles feed contains: a station ID, street, neighbourhood, latitude, longitude, the number of bikes and the number of empty docks.
I clicked Finish, and it created the table, the column mapping and the data connection.
Query the events with KQL
Rows began to arrive at 13:32:07. I opened the database's query window and ran my first KQL query.
KUSTO
1BikeEvents 2| summarize Rows=count(), Stations=dcount(BikepointID), 3 FirstArrival=min(ingestion_time()), LastArrival=max(ingestion_time())
Rows arrived at roughly 12 a second, which was about all 120 stations every 10 seconds. The same station appeared again and again, so each row is a reading, not a new bike station.
ingestion_time() is the time a row reached the Eventhouse. I use it below to compare engines.
A second query counts rows per neighbourhood.
KUSTO
1BikeEvents 2| summarize Rows=count(), Stations=dcount(BikepointID), 3 FirstArrival=min(ingestion_time()), LastArrival=max(ingestion_time()), 4 TotalBikes=sum(No_Bikes) by Neighbourhood 5| top 8 by Rows desc
To chart the current state, I took the latest reading for each station and added them up by neighbourhood.
KUSTO
1BikeEvents 2| extend Arrived=ingestion_time() 3| summarize arg_max(Arrived, No_Bikes) by BikepointID, Neighbourhood 4| summarize Bikes=sum(No_Bikes) by Neighbourhood 5| top 10 by Bikes 6| render columnchart
I turn this chart into a dashboard tile near the end of the post.
Switch on OneLake availability
Parts 1 and 2 put data where the Lakehouse, the SQL endpoint and Power BI could all read it. An Eventhouse keeps its data in its own store, so to share it I opened the database and switched OneLake availability on, with Apply to existing tables ticked.
Switching it on exposes the table as a Delta table in OneLake, so the other Fabric engines can read it. The documentation calls this a logical copy. Fabric writes it in batches. By default a batch waits until the files are big enough, or up to 3 hours, and the delay can be set to as little as 5 minutes.
A KQL command shows how the copy is going:
KUSTO
1.show database SalesEvents operations mirroring-statistics
Read the same table with SQL
From Analyze data with I chose SQL analytics endpoint.
Fabric created a new item, also called SalesEvents, to hold that endpoint. The BikeEvents table appeared in its dbo schema.
I ran a SQL count at 13:36:10.
SQL
1SELECT COUNT(*) AS Rows_in_lake FROM dbo.BikeEvents
Then I ran the KQL count at 13:36:28.
The Eventhouse was about 1,800 rows ahead of the lake after two minutes.
Time the copy
The default delay is long, so at 13:36:48 I set the minimum of 5 minutes on the table with a KQL command.
KUSTO
1.alter-merge table BikeEvents policy mirroring dataformat=parquet with (IsEnabled=true, TargetLatencyInMinutes=5)
I then read both engines about once every few minutes. The KQL count is the live table. The SQL count is the table as the SQL analytics endpoint saw it.
| Time | Eventhouse (KQL) | SQL endpoint |
|---|---|---|
| 13:36 | 3,060 (13:36:28) | 1,280 (13:36:10) |
| 13:38 | not read | 2,480 (13:38:31) |
| 13:40 | 5,040 (13:39:48) | 3,060 (13:40:00) |
| 13:42 | 6,420 (13:42:03) | 3,060 (13:42:14) |
| 13:46 | 9,000 (13:46:22) | 3,060 (13:46:32) |
| 13:47, after I refreshed the endpoint | not read | 7,860 (13:47:06) |
The SQL endpoint stood at 3,060 for at least 6 minutes while the Eventhouse added about 4,000 rows. That is the same pattern as Part 2, and I wondered whether the lake itself was behind. I ran the mirroring statistics again.
The Eventhouse said that the copy in OneLake was complete and that its newest data was under 2 minutes old. So I clicked the refresh icon on the SQL endpoint toolbar and ran the count again.
The count jumped from 3,060 to 7,860. I did not read the Delta files directly, so I cannot prove where the gap sat. But the evidence points at the SQL endpoint, not the lake: the statistics reported nothing pending, and one refresh released about 4,800 rows. In Part 2 the SQL endpoint also lagged the Lakehouse by 16 to 18 minutes, and I could not tell what triggered the update. This time a refresh did.
Build a Real-Time Dashboard
I had deactivated the stream at 13:47, so at 14:23 I clicked Activate all on the Eventstream and chose to start Now. Then I went back to the query window, ran the column chart query again, and chose Save to Dashboard, then To a new Dashboard.
The dashboard opened with the chart as its first tile.
I added a second tile with Add visual and Time chart, using this query, and named it "Rows arriving per 10 seconds".
KUSTO
1BikeEvents 2| summarize Rows=count() by Arrived=bin(ingestion_time(), 10s) 3| render timechart
The tile editor reported Done (0.435 s) for 105 records, from a table that already held more than 9,000 rows.
On the Manage tab, Refresh settings already had Live refresh selected. It refreshes the tiles when new data is ingested, and a message warned me that it may use capacity.
I saved the dashboard and switched it to Viewing. This is the dashboard at 14:27:02.
I touched nothing. This is the same dashboard at 14:27:36.
Stop the stream
The Bicycles sample sends events until you stop it, and it uses trial capacity while it does. After the dashboard screenshots I opened the Eventstream again and clicked Deactivate all. I had done the same at 13:47.
The Eventhouse, the Eventstream, the SQL analytics endpoint and the Bike Share Live dashboard remain in my workspace. The dashboard keeps Live refresh on, which refreshes its tiles when new data arrives. With the stream stopped, there is no new data to trigger it.



































