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
I have data imported from server and need to create columns that will be measuring YTD figures upto particular week of a selected year for example if I select week 2018-39 so the YTD should be calculated from week 1 to week 39 .
Solved! Go to Solution.
Hi @bhushan_patil,
You can achieve this easily by using the TOTALYTD function. There should be a date table. Please check out the demo in the attachment.
Measure = TOTALYTD(sum(FactSales[Sales]), 'Calendar'[Date])
Best Regards,
Dale
Hi @bhushan_patil,
You can achieve this easily by using the TOTALYTD function. There should be a date table. Please check out the demo in the attachment.
Measure = TOTALYTD(sum(FactSales[Sales]), 'Calendar'[Date])
Best Regards,
Dale
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!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |