Forum Discussion
Multiple Criteria IF Formula
If STEMBRANDYEARS[PRIMARYTOOUTCOMEYEARS] is number or can be compared as number , are you trying to round. Then you can try like this
if(STEMBRANDYEARS[STEMBRAND] = STEMBRANDYEARS[STEMBRAND] ,If((STEMBRANDYEARS[PRIMARYTOOUTCOMEYEARS] >0.0 && STEMBRANDYEARS[PRIMARYTOOUTCOMEYEARS]<1.0 ) || isblank(STEMBRANDYEARS[PRIMARYTOOUTCOMEYEARS])) ,0.0 , round(round(STEMBRANDYEARS[PRIMARYTOOUTCOMEYEARS],0),1))
Hi
when i put the measure into a table i am not getting the correct values.... let me share a sample file you'll see the formula is adding up all the values in the primaryyearsto out from 0.0 to 1.0 as opposed to just show the values at data point 0, 1, 2, 3, 4, and so hence my first formula and or you could say we are subtracting the data points as we move from 0.0 year onwards....
ref to tab Duplicate of (Kaplan-Meier)
and table Stembrandyears.
i am trying to get the to the right as produce by R.
https://www.dropbox.com/s/s4wj3qzpblasw66/Kaplan_Miers_v1.2.pbix?dl=0
- amitchandak6 years agoSuper User
I think you are referring to this. What are the values expected in this table
- Anonymous6 years agoNot applicable
Hi Amitchandak
I am referring to that table i am expecting the values as shown in the R Table to the left.
See Below image
i.e. 0 years is 664 and 1 is 656 and so on....
- Anonymous6 years agoNot applicable
HI AmitChandak
any luck with the table as discussed