Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
Please how I can calculate YTD in power query ,what is the syntax please (urgent)
Thank you
Solved! Go to Solution.
Please check this one https://powerusers.microsoft.com/t5/Power-Query/YTD-sum-of-columns-in-Power-Query-based-on-input-fro...
Thanks,
Ritesh
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users
Hi @Nihed ,
You can also refer the following links to get it by DAX:
Power BI Tips: Calculate Year-to-date Values
YTDSumOfSales = TOTALYTD([SumOfSales],’Calendar'[Date])
How to Create YTD Calculations in Power BI
Sales YTD =
TOTALYTD(
SUM(Orders[Sales]),
Orders[Order_Date],
ALL(Orders)
)
Best Regards
Please check this one https://powerusers.microsoft.com/t5/Power-Query/YTD-sum-of-columns-in-Power-Query-based-on-input-fro...
Thanks,
Ritesh
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |