Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Moving Avg Calculation
04-01-2019
11:22 AM
Hi,
I am trying to calculate moving Average for the below data:
I greatly appreciate some help in DAX script.
I do not have any Date/Calender table.
Thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2019
12:39 PM
Running Average Measure = DIVIDE(CALCULATE( SUM('Table1'[10 Week]), FILTER( ALLSELECTED('Table1'[Date]), ISONORAFTER('Table1'[Date], MAX('Table1'[Date]), DESC) ) ), CALCULATE( COUNTA('Table1'[10 Week]), FILTER( ALLSELECTED('Table1'[Date]), ISONORAFTER('Table1'[Date], MAX('Table1'[Date]), DESC) ) ) )
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Visual Capitalist: Working Hrs
Others:Easing Graph, Animated Calendar

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
09-16-2022 11:54 AM | |||
08-06-2024 02:46 AM | |||
01-27-2025 06:41 AM | |||
12-11-2024 07:36 AM | |||
07-13-2024 12:05 AM |
Featured Topics
Top Solution Authors (Last Month)
User | Count |
---|---|
90 | |
82 | |
65 | |
51 | |
31 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
118 | |
116 | |
71 | |
64 | |
46 |