Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I have two data sources I am building a dashboard with.
1st source is directly tied to a SQL database.
2nd source is a static file with manually created for Working Bank Days in 2023 and 2024 only.
I created a relationship between these two sources to get accurate visuals as the data is aggregated to Working Days.
All other visuals work and match up perfectly.
This one however is giving me a difficult time.
I need the average of the payments up to the most current working day.
However when I created a running total or an average measure for payment I get wrong numbers.
Here is an example of what I'm trying to accomplish so that "Cash Up To Day 05" will change as the month moves forward in Working Days (Tomorrow will be "Cash Up To Day 06" and so forth)
Thank you for any help or guidance!
Solved! Go to Solution.
hi @CracktheCode85 ,
For a static rolling period : How to Calculate Moving Averages in Power BI - The Ultimate Guide (youtube.com)
in the measure above, after creating a measure that counts the number of days (current date - start of month date +1 ) , try and subsitute the static period definition in the variable (-3 in the picture above).
let me know if this makes it a dynamic rolling period.
hi @CracktheCode85 ,
For a static rolling period : How to Calculate Moving Averages in Power BI - The Ultimate Guide (youtube.com)
in the measure above, after creating a measure that counts the number of days (current date - start of month date +1 ) , try and subsitute the static period definition in the variable (-3 in the picture above).
let me know if this makes it a dynamic rolling period.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!