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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Calculate rolling past 3 months average sales and it should filter with year month filter.

Task to Perform: Calculate rolling past 3 months average sales and it should filter with year month filter. (eg if April 2020 is selected it should show sales for (Jan+Feb+March)/3)

 

I have two tables 1. d - Calendar Table (Date, MonthName, Year as my columns) & 2. F-Sales Table (Date, Sales). I have created a relationship between the two tables. Can anyone please tell me how to get the above requirement using DAX Measure from Scratch!! / DAX Measure code for reference

 

Any Inputs & Suggestions are Screenshot from 2021-12-24 12-18-56.pngScreenshot from 2021-12-24 12-19-38.pnghighly appreciated

 

Thanks in Advance

0 REPLIES 0

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