Forum Discussion
mshamsiev
9 years agoHelper I
Excluding negative values from a calculated column
Hi all, I'm using two columns to determine the mean time to resolve. However, some of the 'resolved' fields are blank resulting in negative calculations for MTR. Is there any way to exclude ...
- 9 years ago
Hi mshamsiev
Instead of doing a calculated column, why not use the same syntax and create a measure. Because that is possibly what you want?Another option which I recommend is to go into the Query Editor and create a conditional column. This is a lot easier as well as has more options to determine your new column.
As well as this will also improve the performance of your Power BI Desktop file.
mshamsiev
9 years agoHelper I
Hi GilbertQ,
Cheers for the suggestions! As much as I would love to attempt using conditional columns, I've yet to explore query editor.
Does it perform in a similar manner to calculated columns?
-Mike
GilbertQ
9 years agoSuper User
It is very similar and actually a lot easier to do it in the query editor