Forum Discussion
aashton
Helper V
1 year agoDATEDIFF with SUM not working
In Power BI I've created a table with Pay Period Start Date, Pay Period End DAte, Check Date. I have a calculated column to find the number of days in a pay period ( I tried a million variations of...
parry2k
Super User
1 year agoaashton not sure how the raw data looks like, try this:
TotalDaysLastMonth =
SUMX(
FILTER(
'Pay Periods Bi-weekly',
'Pay Periods Bi-weekly'[Check Date Last Month] = 1
),
CALCULATE ( MAX ( 'Pay Periods Bi-weekly'[Days Pay Period] ) )
) aashton
Helper V
1 year agoNo, same incorrect answer.