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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
momihail
Advocate I
Advocate I

Aggregating data by date and time on a chart based on user time selections with easy zoom

Hi all, given the table

 

Cars
NumberCarsSold Time
5  3/1/2019     2:00:00AM
10 3/1/2019     3:00:00AM
2  3/2/2019     2:00:00AM
2  3/2/2019     5:00:00AM
2  8/2/2019     2:00:00AM

 

 

I want it to be displayed in an Area Chart, with Y axis = Sum(NumberCarsSold) and X axis = Time, and give the user the functionality to filter the time interval in which data should be displayed.

When the user selects an interval spanning months, the data automatically should be aggregated to a months level and it would have 2 peaks displayed, one for March(Yaxis=19 Xaxis=march) and one for August(Yaxis=2 Xaxis=august),as shown in this picture

 

When the user clicks on a month selection (eg. March) the data will be zoomed in to a Day level and there will be 2 corresponding peaks, one for `Yaxis=15 Xaxis=1` and one for `Yaxis=4 Xaxis=2`. If he clicks on the corresponding Day entry, the time entries corresponding to that day will be shown as shown in this picture

 

For now i am able to obtain almost the desired functionality with a Time Slicer and a ZoomCharts Advanced Time Series Visual, however the latter doesn't offer some of the features for free (e.g. setting the desired unit for initial state of the chart, choosing the type of chart - only bar chart is available for free).

Is there any other way to achieve the desired functionality? Thanks!

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @momihail ,

 

The problem here could be changing the aggregation level automatically. The Area chart won't change the X-axis by the Slicer. How about creating several bookmarks?

 

 

Best Regards,

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

View solution in original post

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @momihail ,

 

The problem here could be changing the aggregation level automatically. The Area chart won't change the X-axis by the Slicer. How about creating several bookmarks?

 

 

Best Regards,

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

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.