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 September 15. Request your voucher.
Hi
i wanted to group these duplicate dates into one field, the way i want this to happen is, if i group a specific date then all the corresponding fields must also be either summed or averaged.
every date has 24 rows for 24 hours that needs to be grouped in 1 date and other column, example count of bike shares must be summed within a single date, similarly other fields should also be averaged or summed.
i was trying to use datesinbetween function for moving average but it won't allow me as there are duplicates in date field.
thanks in advance.
Solved! Go to Solution.
@Kushagra15 , In power query first create a new column
Date only= DateTime.Date([Date])
Then use group by https://docs.microsoft.com/en-us/power-query/group-by
thanks a lot it worked 🙂
@Kushagra15 , In power query first create a new column
Date only= DateTime.Date([Date])
Then use group by https://docs.microsoft.com/en-us/power-query/group-by
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |