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
Hello community,
I have a monthly fact table with two columns:
| Date | Value |
| 01/01/2023 | 232 |
| 01/02/2023 | 241 |
| 01/03/2023 | 245 |
| 01/04/2023 | 247 |
| 01/05/2023 | 244 |
| 01/06/2023 | 246 |
| 01/07/2023 | 244 |
| 01/08/2023 | 243 |
| 01/09/2023 | |
| 01/10/2023 | |
| 01/11/2023 | |
| 01/12/2023 |
I calculate the ytd average with this measure:
| Date | Value | YTD Average |
| 01/01/2023 | 232 | 232 |
| 01/02/2023 | 241 | 237 |
| 01/03/2023 | 245 | 239 |
| 01/04/2023 | 247 | 241 |
| 01/05/2023 | 244 | 242 |
| 01/06/2023 | 246 | 243 |
| 01/07/2023 | 244 | 243 |
| 01/08/2023 | 243 | 243 |
| 01/09/2023 | 243 | |
| 01/10/2023 | 243 | |
| 01/11/2023 | 243 | |
| 01/12/2023 | 243 |
Solved! Go to Solution.
Hi @saiko_cs ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
AVERAGEX(FILTER(ALL('Table'),'Table'[Date]<=SELECTEDVALUE('Table'[Date])),'Table'[Value])
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot, that's exactly what I try to find (thumb up)
Hi @saiko_cs ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
AVERAGEX(FILTER(ALL('Table'),'Table'[Date]<=SELECTEDVALUE('Table'[Date])),'Table'[Value])
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 46 | |
| 42 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |