Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am trying to filter data points based on their average value for the past 28 days. Right now the function I have is taking the first date in my date range and filtering the 28-day average from that point. Where I want my function to filter the 28-day average working back from the date of my most recent data point in the data range, rather than the oldest data point in my date range. You can see in the picture attached the yellow line under jump height labeled 13.58 is taking the average from the oldest two data points in the date range (13.5,13.66) on the line graph rather than the most recent data point of 12.95. Which in this case since there is only one data point in the past 28 days the yellow line under the jump height gague should be represented by 12.95 if the function was working the way I wanted it to.
Hi, @brendanoshea
Can you provide sample data for testing? Sensitive information can be removed in advance.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I am just trying to make a 28 day rolling average, this is my DAX code but for some reason I get a blank return when I run it. I know there are data points in the data range I am giving it but it keeps giving me a blank no matter what function I use.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |