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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rssvlk
Frequent Visitor

Aggregate By Date Accurately and Display Nicely

Hello,

 

I'd like to aggreagte rows by day. I noticed that it was aggregating by day of the month rather than actual calendar date. That is, is shows the average for all 24ths of each month, which is not what I want. I followed this question which deals with the same issue but for months: https://community.powerbi.com/t5/Desktop/Dates-improperly-aggregating-in-visualization/m-p/118128

 

So I now have a calculated column in the format YYYMMDD. So I'm able to aggregate unique dates and sort. The problem I'm having is if I want to graph this there are gaps between months since there is a value for 20210830...20210831.. then skip to 20210901.

rssvlk_0-1632505534791.png

I can change the axis to categorical, which eliminates the dates that don't exist, but then the data is not sorted:

rssvlk_1-1632505591898.png

 

Any ideas to display the aggregated values by date that looks nice?

 

Thanks!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@rssvlk , In the second option, can you check the sort column from three dots. Seem like it is sorted on the value column, not the date

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@rssvlk , In the second option, can you check the sort column from three dots. Seem like it is sorted on the value column, not the date

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

That was the winner! Thank you amitchandak! For anyone else reading, be sure it'sa line type of visualization.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors