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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |