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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Average

I'm looking for a way to calculate the average over time for below highlighted column:

1.PNG 

The [Positive %] measure is simply Positive Count/Total Count for each month surveys were taken. Everything I've tried so far only returns 100% and I'm not sure why. Any ways of how I can get the average? I do have a separate date table as well but was unsure of how to incorporate it with this data. Thanks!

4 REPLIES 4
BKirsch12
Resolver II
Resolver II

The easiest way to do this would be to add a card and slicer to do this. Are you looking for the table to stay static? If that is true, then you'll need to create time intelligent measures for each period you want to show. Attached an example file of the easy slicer and card way.

 

https://drive.google.com/open?id=1QNASArWgRyKaF7DBl7IzGfAEt9Z37bxU

 

Anonymous
Not applicable

@BKirsch12 I was hoping to do it through DAX. The table was just meant to show the setup. Using the same dataset, I've accomplished this with another measure that was tracking something different:


1.PNG 

So here the Month End column actually comes from my Date table. This works, so I attempted to do the same thing with the Positive % measure, but when I do every line comes back as 1.0 or 100%.

I think I understand, without seeing your date table, it's tough to say exactly how to implement it. This article shows a good example of computing average over certain time frames.

 

https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/

Anonymous
Not applicable

@BKirsch12 Thanks! I'll be sure to check it out and give it a try.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.