The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
83 | |
73 | |
51 | |
42 |
User | Count |
---|---|
140 | |
112 | |
72 | |
64 | |
63 |