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 August 31st. Request your voucher.
How to create an aggregated table below based on the table on top? Time is ascending for the top table. Thanks
Solved! Go to Solution.
Hi @Kathir,
You can use the summarize function to create a new calculated table to aggregate specific field values based on category fields:
Summaried =
SUMMARIZE (
Table1,
Table1[ID],
Table1[Day],
Table1[Venue],
Table1[Zone],
"Duration(sec)", SUM ( Table1[Duration(sec)] )
)
Regards,
Xiaoxin Sheng
Hi @Kathir,
You can use the summarize function to create a new calculated table to aggregate specific field values based on category fields:
Summaried =
SUMMARIZE (
Table1,
Table1[ID],
Table1[Day],
Table1[Venue],
Table1[Zone],
"Duration(sec)", SUM ( Table1[Duration(sec)] )
)
Regards,
Xiaoxin Sheng
if you have noticed, refering to the top table, as long as the venue is same row 3 and row 4 (records which are adjacent), i have added 56 + 152 , the result table below shows 208
ah, now i see.
Do it in PowerQuery, like this: Grouping or Summarizing Rows in Power Query - BI Gorilla
can you be a little more specific?
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
106 | |
97 | |
55 | |
49 | |
46 |