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
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.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 144 members 1,670 guests
Please welcome our newest community members: