cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 356 members 3,729 guests
Please welcome our newest community members: