Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
How can i get the sum duration for each Id on the different date and shifts?
Thanks
SUMMARIZE(Table_Shifts , ROLLUP( [shift date], [shift type],[I'd]) , "Duration", SUM(Table_Shifts[Duration]) )
Hello @Anonymous , what am i missing?
Hi @JoeyI
As suggested by az38, please add columns in a matrix.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @v-juanli-msft ,
What i wanted to do was get them by Date/shift and use the resulting values in a measure.
Hello @v-juanli-msft ,
I have added a matrix on the report as you asked.
But i dont require it on my report. wanted to apply a measure on it before reporting the resulting figures
the easiest way is to create a matrix visual, add Date and Shift as rows, Shift Time as columns, Duration as Values (check if it is aggregated as Sum)
then in matrix settings set Row headers - Stepped Layout = Off, then Row subtotals = Off
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!