Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 .
I want to get im matrix this
fund | entrydate | Newcolumn |
New column is based on the value selected in my slicer (slicer contains reporting date )
And I want to get True Or False in Newcolumn if Entrydate is between ReportingDate and ReportingdateQ-1.
I was test many measure but it don't work:
Thanks
Solved! Go to Solution.
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 🙂
Hi
Thanks for your answer . But i have the below error :
Kinds
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |