Forum Discussion
efilipe
8 years agoHelper IV
Table LatDayAndroid and LastDayiOS
Hi guys, I want to add two columns. First one with the MAX day for Android and second Max day for iOS. And set that column with 1 (true) and 0 (false); Date SO Daily Device Installs ...
efilipe
8 years agoHelper IV
That means that the column "LastDayAndroid" will have value "1" on the line 27/07/2017 and all other "Android" will have 0;
And iOS "LastDayiOS" will have "1" on the line 08/08/2017 and all other iOS lines will have 0;
- efilipe8 years agoHelper IV
Greg_Deckler help? :-)
- parry2k8 years agoSuper User
try this
Max Flag = var maxDate = Calculate(Max(iOS[Date]), AllExcept(iOS, iOS[SO]) ) return if(maxDate = max(iOS[Date]), 1, 0)
- parry2k8 years agoSuper User
Ashish_Mathurwhat is calculated field means? Calculated column or measure?
- v-huizhn-msft8 years agoMicrosoft Employee
Hi efilipe,
Please try the solution other members posted, and mark the right or helpful reply as answer, so more people like will find workaround easily. After I test, all the formulas will return your expected result. Please feel free to ask if you haven't resolved it.
Best Regards,
Angelia