The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
9 | |
7 |