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
ladislaocsulak
Frequent Visitor

issue on month over month variation metric when using day filter

Hello,

 

I am having the following problem that I cannot solve.

 

I made a chart with bars and lines where the lines show the metric sales MoM that displays the month-over-month variation. Additionally, with a calendar table, I am using a slicer that filters by day to compare sales within a certain range of days.

 

Everything works perfectly, except for the following specific case that I cannot solve.

In the table I am uploading, the last recorded day is 5/5/23. If I filter to see the information for days 1 to 4, the metrics work perfectly. But if I filter to see the information for days greater than or equal to the last day recoded, it stops working (for example 1 to 5 or 1 to 8). Does anyone know what I can modify to make it work consistently?

 

I am uploading the Power BI file with the example and the metrics created:

https://drive.google.com/drive/folders/1SIBxFXl1CB3n0gnH2GM6CJe9044dHk_M?usp=share_link

 

Thank you very much in advance.

1 REPLY 1
ThxAlot
Super User
Super User

Follow this pattern

ThxAlot_0-1683357173285.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.