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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I'm trying to display over time a graph with both my KPI value and the 6 month rolling average.
I calculated the 6RMA using the following formula :
This is a Date Tables linked to the fact table.
The datas are correct, but not when a slicer is used. Data calculated between January and May are wrong as the months from the previous year are not all taken into account.
@Anonymous, please do yourself a favor and watch this: https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/
Many thanks.
Best
D
I understood what you meant by proper date table. I managed to solve my problem. Thanks !
So, you're saying that Campaign is a proper Date table marked as such in the model? If it were, then DATESINPERIOD would overwrite any filters on the table and you'd get a correct result. But this does not happen. What happens is that Power BI makes an intersection of the year selected with the 6M period you're trying to calculate the measure over. Hence I know that you don't have a proper Date table. I've been in this business for much too long not to be able to recognize at first sight that a date table is not in there...
Easy 🙂
Best
D
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |
User | Count |
---|---|
15 | |
14 | |
12 | |
10 | |
9 |