cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
FELIPE_BDA New Member
New Member

Calculating contracts to expire

Folks,
I have a car rental table with contract closure dates. I need to know which contracts will win in the next 3 and 6 months.
The logic I set is not working, can you help me please?

Measure = VAR INICIO = MONTH (TODAY ()) + 1

                   VAR FIM = INICIO + 2

                                  Return

                                  CALCULATE(

[Ativo];MONTH(FROTA[MÊS_PREV_CALC])>=Inicio && MONTH(FROTA[MÊS_PREV_CALC]<=FIM);YEAR(FROTA[DT_PREV_CALC])=2019)

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors