Forum Discussion
bdehning
Post Prodigy
2 years agoCustom Column Formula Help
I have the following formula for a custom column. It works except when Time Started or Time Injured is null and then my column returns an error if([Time Started]>[Time Injured]) then [Time ...
bdehning
Post Prodigy
2 years agoI know that would be best but my report is so big and complicated, its hard to split out just the page and table I need for a sample.
ryan_mayu
Super User
2 years agonot sure if this is what you want. We can't get text and number in one column
Column = if(ISBLANK('Table (2)'[Time Started]) || isblank('Table (2)'[Time Injured]),999,if('Table (2)'[Time Started]>'Table (2)'[Time Injured],'Table (2)'[Time Injured]-'Table (2)'[Time Started]+1,'Table (2)'[Time Injured]-'Table (2)'[Time Started]))
so i used 999 to replace the unknown