Forum Discussion
Johnsnowlife
Helper III
8 years agoFinding first date shared by multiple products
I am trying to find the first date where my table has information for all selected portfolios. My table looks like this. I'm thinking of something like this (written in english): Min (i...
- 8 years ago
Thanks for all the help!
These are the formulas I used to reach my desired result.
FirstSharedDate = CALCULATE ( MAXX ( SUMMARIZE ( ALLSELECTED ( AllPerfMnthly[Portfolio] ), [Portfolio], "ABCD", MIN ( AllPerfMnthly[Date] ) ), [ABCD] ), ALLEXCEPT ( AllPerfMnthly, AllPerfMnthly[Portfolio] ) ) InceptionDate = CALCULATE ( FIRSTNONBLANK ( AllPerfMnthly[Date], AllPerfMnthly[Date] ), ALLEXCEPT ( AllPerfMnthly, AllPerfMnthly[Portfolio] ) )
fhill
Resident Rockstar
8 years agoI think i'm missing something in the request, is this what you needed?
FirstDate = FIRSTDATE(Table1[Date])
Johnsnowlife
Helper III
8 years agoNot exactly. If you replace your date "2/2/2017" with "4/1/2017", then you have 2 portfolios for the same date "4/1/2017". But Beta started before Charlie. Now I want to say "bring me the first date, where there is information for BOTH Beta and Charlie". That is, I want the result "4/1/2017"