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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
serbanbuliga
New Member

Comparing moving average values with single values from the data table

Hello, 

 

I have a time series and I calculated the 6 months moving average. The data is on monthly basis and now I would like to compare each of the moving average values with the individual months values. The moving average is a measure and I have 2 columns: one containing the date and another one containing the values for each month. 

 

Basically I want to make an alarm sistem for when the monthly data rises above the moving average. 

 

Any help is much appreciated! 

Thank you! 

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

hi, @serbanbuliga 

Just try this simple way:

Step1:

Create a simple measure for the single values.

Measure= CALCULATE( SUM( [single value] ) )

Step2:

Then compare this measure with [moving average]

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
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

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @serbanbuliga 

Just try this simple way:

Step1:

Create a simple measure for the single values.

Measure= CALCULATE( SUM( [single value] ) )

Step2:

Then compare this measure with [moving average]

 

Best Regards,

Lin

 

 

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.