Forum Discussion
NETWORKDAYS PER MONTH DAX
- 3 years ago
I think I initially misunderstood your requirement. Please try
=
NETWORKDAYS (
MAX ( MIN ( Calendario[Date] ), TODAY () ),
MAX ( Calendario[Date] ),
1,
Feriados
)
Didnt work
The result:
With your measure is on the second line (teste3)
On first line (DiasUteis) I have the working days of the month, It is right.
But in January, needs to return 12, because we still have 12 days to the end of the month.
Please create a measure
MIN (
MAX ( Calendario[Date] ),
TODAY ()
)
and let me know what it returns.
- LucasMascarellD3 years agoFrequent Visitor
it´s return
If I use this measure
it´s return to me 12, but in other month returns 12 too and add a new column
- tamerj13 years agoCommunity Champion
I think I initially misunderstood your requirement. Please try
=
NETWORKDAYS (
MAX ( MIN ( Calendario[Date] ), TODAY () ),
MAX ( Calendario[Date] ),
1,
Feriados
)- LucasMascarellD3 years agoFrequent Visitor
My english is not the best, Maybe I didnt expresss my self inthe best way.
But the your measure works perfectlyIt´s creating a new column with no title, Do you know why?