Forum Discussion
Anonymous
3 years agoNot applicable
IF in calculated column
Hi , Please I need your help , I have 2 tables : - Cashflows Fund EntryDate Commitment - ReportingDate Reportingdate reportingdate Q-1 these two tables are not linked in my model ...
- Anonymous3 years agoNewEntryDate =VAR _CurrentMonth = SELECTEDVALUE(ReportingDate[ReportingDate])RETURNCALCULATE(MAX(CashFlows[EntryDate]),DATESINPERIOD(CashFlows[EntryDate],_CurrentMonth,-1,QUARTER))
Anonymous
3 years agoNot applicable
NewCommitment = VAR rd = SELECTEDVALUE(ReportingDate[ReportingDate]) VAR rdM1 = PREVIOUSQUARTER(ReportingDate[ReportingDate]) VAR filteredDates = FILTER(ReportingDate, ReportingDate[ReportingDate] = rd || ReportingDate[ReportingDate] = rdM1) RETURN SWITCH(TRUE(), AND(MIN(filteredDates[ReportingDate]) <= MAX(CashFlows[EntryDate]), MAX(CashFlows[EntryDate]) <= MAX(filteredDates[ReportingDate])), "True", "False" )
Please try this measure 🙂
- Anonymous3 years agoNot applicable
Hi
Thanks for your answer . But i have the below error :
Kinds