Forum Discussion
jbolivar
8 years agoFrequent Visitor
Error counting weekends
Hi guys. I have 2 tables. One is the DimDate table where I have the Non-working days column, Saturdays and Sundays (0 Weekly, 1 Non-working). The other GTI Table where there are 2 columns with 2 dat...
Vvelarde
8 years agoCommunity Champion
Hi, you can use a calculated column with:
FDS =
CALCULATE (
SUM ( DimDate[DiaLaboral] ),
FILTER (
DimDate,
DimDate[Date] >= GTI_POWERBI[Fecha de Creación]
&& DimDate[Date] < GTI_POWERBI[Fecha de Vencimiento]
)
)Regards
Victor
Lima - Peru
jbolivar
8 years agoFrequent Visitor
Excelente Vvelarde.
Muchas gracias. Funcionó perfecto