The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. 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
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
7 |