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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear all,
I had an issue when calcuating rolling average. the senario is as follow:
I created two time tables (dim_date & dim_date2) with inactive relationship. dim_date has 1:many relationship to the fact table. I used yearmonth of dim_date as slicer on the page, the chart X-axis used dim_date2[Yearmonth] to display the period. when I put the rolling avg meansue to Y-axis, only one month value but 6 month avg is displayed. the dax I used as below:
Revenue = sum(revenue[balace])
thanks for your help.
--Tonny
Please read about the new windowing functions. They make this much easier.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 25 |
| User | Count |
|---|---|
| 124 | |
| 87 | |
| 70 | |
| 66 | |
| 65 |