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! Learn more

Reply
Anonymous
Not applicable

Missing data points for moving months

We are trying to calculate 12 moving months sum of a metric. The bar chart below has all the values from Apr 2019 to May 2020, however complete data points for May 2020 is missing. 

We dont have any value for the blue metric of May 2020 in our source, but there should be a value on the chart since it is summing up the values for the last 12 moving months. We are expecting it to show some value for May 2020, by considering the values present in the previous months. Any idea why the value is not showing up in the visual or any workarounds/suggestions?

ghoshe_0-1614870315468.png

 

Please find the sample data for the same. It has the values from June 2019 - June 2020.

DATECategoryWeight
6/1/2019 0:00Green980130.5
6/1/2019 0:00Yellow86004.25
6/1/2019 0:00Blue3098015
7/1/2019 0:00Green1080521
7/1/2019 0:00Yellow430141.6
7/1/2019 0:00Blue3939509
8/1/2019 0:00Green1111768
8/1/2019 0:00Yellow235895.3
8/1/2019 0:00Blue3508745
9/1/2019 0:00Green2278745
9/1/2019 0:00Yellow950222.7
9/1/2019 0:00Blue1498396
10/1/2019 0:00Green1001085
10/1/2019 0:00Yellow965401.9
10/1/2019 0:00Blue1368455
11/1/2019 0:00Green797024.9
11/1/2019 0:00Yellow844521.1
11/1/2019 0:00Blue2903498
12/1/2019 0:00Green995918.8
12/1/2019 0:00Yellow675661.9
12/1/2019 0:00Blue2629555
1/1/2020 0:00Green507012.1
1/1/2020 0:00Yellow472983.7
1/1/2020 0:00Blue2780379
2/1/2020 0:00Green1108798
2/1/2020 0:00Yellow189126.4
2/1/2020 0:00Blue2851289
3/1/2020 0:00Green1376035
3/1/2020 0:00Yellow473091.9
3/1/2020 0:00Blue1914190
4/1/2020 0:00Green930264.2
4/1/2020 0:00Yellow278974.8
4/1/2020 0:00Blue1147147
5/1/2020 0:00Green2348329
5/1/2020 0:00Blue1264809
6/1/2020 0:00Green1075077
6/1/2020 0:00Yellow670088
6/1/2020 0:00Blue2835990

 

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1615368836132.png

 

Best regards,
Lionel Chen

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

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1615368836132.png

 

Best regards,
Lionel Chen

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

 

amitchandak
Super User
Super User

@Anonymous , Are you using date table? In this you should use date table and month year should come from date table

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

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
Anonymous
Not applicable

We have posted the sample data for your reference. Please let us know.

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