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,
How do I create a column to sum up the values if the Day and Night count for individual staff for each month.
The end goal is to have a column with the day and night counts combined.
Raw Data:
End Goal:
Thank you.
Nic
Solved! Go to Solution.
hi @nicholas_
try to add a calculated column like:
Column =
SUMX(
FILTER(
data,
data[Staff]=EARLIER(data[Staff])
&&data[Date]=EARLIER(data[Date])
),
data[Days]
)
it worked like:
hi @nicholas_
try to add a calculated column like:
Column =
SUMX(
FILTER(
data,
data[Staff]=EARLIER(data[Staff])
&&data[Date]=EARLIER(data[Date])
),
data[Days]
)
it worked like:
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
21 | |
20 | |
11 | |
10 | |
7 |