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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Chip_Chipperson
Frequent Visitor

Streaming datasets and report visual aggregations

Curious to know what the window or dataset that would be aggregated in a report visual when using a streaming dataset from Azure Stream Analytics?

Let’s say I have a number that’s being sent to PBI every 10 seconds with the average value for the past 10 seconds using a tumbling window. Seeing as how “do not summarize” does not exist for report visuals in this case, if I selected “average” as the aggregation for the field, would it be the average of the event (every time the dataset is pushed from ASA? Would it be the average of the historical dataset if historical analysis is on which I think is 200k rows, or if historical analysis was turned off, roughly an hours worth of cached data?
1 ACCEPTED SOLUTION
jppp
Continued Contributor
Continued Contributor

From a visualizing perspective: streaming (with history) datasets are just like normal datasets. You if you add a card visual containing an average of the column, it will show an average of all the records in the dataset. You can add filters to the visual/page/report to alter the calculation.

 

Usually by adding an timestamp to the dataset you can easily filter based on time, e.g. last hour. Another option is to add the time/date as an increasing number to the dataset as you can use the 'Top N' visual as filter to achieve a visual containing only the last event without a relative filter based on time.

 

-JP

View solution in original post

2 REPLIES 2
jppp
Continued Contributor
Continued Contributor

From a visualizing perspective: streaming (with history) datasets are just like normal datasets. You if you add a card visual containing an average of the column, it will show an average of all the records in the dataset. You can add filters to the visual/page/report to alter the calculation.

 

Usually by adding an timestamp to the dataset you can easily filter based on time, e.g. last hour. Another option is to add the time/date as an increasing number to the dataset as you can use the 'Top N' visual as filter to achieve a visual containing only the last event without a relative filter based on time.

 

-JP

Great - that answers my questions. And I will follow your advice on filtering. Thanks!

Have you ever tried using rest calls to cosmos db as a data source in PBI? I was curious about seeing that as an alternative to ASA.

Edit: more specifically using a sql query using web call.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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