Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I'll explain my setup. My first column is called 'Month / Year' (a date column). My second column is called 'Operating Area' (a text column) and my third column is called 'Hours' (a number column).
I need to create a column that provides a rolling year-to-date sum of 'Hours' for each 'Operating Area'
Solved! Go to Solution.
I guess I found a solution using DAX outside of Power Query that works well. Thank you for your time.
Hours YTD =
TOTALYTD(
SUM('Hours Combined'[Hours]),
'Hours Combined'[Month / Year],
ALLEXCEPT('Hours Combined','Hours Combined'[Operating Area])
)
I guess I found a solution using DAX outside of Power Query that works well. Thank you for your time.
Hours YTD =
TOTALYTD(
SUM('Hours Combined'[Hours]),
'Hours Combined'[Month / Year],
ALLEXCEPT('Hours Combined','Hours Combined'[Operating Area])
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
14 | |
13 | |
12 | |
12 | |
12 |