Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I want to compute a ytd that can be seen with the total increasing after each date where a new DLY occurs.
Any direction or advice would be greatly appreciated since the YTD function cannot be run with identical dates. ! I've tried many things so far with creating a new date table but it is causing me issues, maybe on how I connected the two queries.
I suppose the end result would look something like this. Anything I would be able to select a date and see the YTD.
Thanks,
Lucas
Solved! Go to Solution.
Based on your sample data (there is no DLY value to total on?), you can add a column stripping off the time, then do TOTALYTD off of that column
Column
Dt = DATEVALUE(DurTab[DLY_ST])
Measure
YTD = TOTALYTD(SUM(DurTab[DLY_DUR]), DurTab[Dt])
Hope this helps
David
Hi @test_123_e213,
One sample for your reference. If it doesn't meet your requirement, kindly share your excepted result to me.
Regards,
Frank
Thanks for your help too!
Both answers were the same but it was still nice to see.
Lucas
Based on your sample data (there is no DLY value to total on?), you can add a column stripping off the time, then do TOTALYTD off of that column
Column
Dt = DATEVALUE(DurTab[DLY_ST])
Measure
YTD = TOTALYTD(SUM(DurTab[DLY_DUR]), DurTab[Dt])
Hope this helps
David
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
91 | |
81 | |
65 | |
65 | |
60 |
User | Count |
---|---|
170 | |
114 | |
102 | |
73 | |
69 |