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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |