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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Twan
Advocate IV
Advocate IV

Limit Stream Analytics Data by Time

Hello I was wondering if there is any way to limit the amount of stream analytics by time that is used in the data set in Power BI.  For example I have a requirement to only show the last days Stream Analytics data in the dashboard.  But the only time filters that can be used on the reports are to allow data before or after a certain date.  It would be useful if there was a time filter for "Last X Hours" or "Last X Days".

 

3 REPLIES 3
fbrossard
Advocate V
Advocate V

Hi,

 

You can simply modify your query in Stream Analytics by adding a where clause and using dateadd function

https://msdn.microsoft.com/en-us/library/azure/dn834997.aspx

julie
Employee
Employee

You can also try to create a Q&A visual with "in the last x days/hours/minutes/seconds" for the time window you want, then pin it to the dashboard.

PowerBIGuy
Responsive Resident
Responsive Resident

Try creating a numbered index or rank column based on date and use this coulmn to filter your dataset.

Business Intelligence Architect / Consultant

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors