Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
nicholas_
New Member

Sum values in a column for each staff every month

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:

nicholas__1-1682694624655.png

 

End Goal:

nicholas__0-1682694541417.png

 

Thank you.

Nic

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

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:

FreemanZ_0-1682695681575.png

 

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

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:

FreemanZ_0-1682695681575.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.