hyperchondriac
New Member
- Joined
- Jun 25, 2017
- Messages
- 16
Hi all, trying to graduate from Excel to Power Query/Power BI. Perhaps my brain is not in the right gear yet.
I have a data set with a column of values. I have also added a literal column with a target value in each row. I would then like another custom column that is either the difference between the value and the target, if the value is greater than the target, or 0 if not. Basically MAX(A-B,0).
I don't seem to be able to find a formula that does this. Is this not how Power BI works?
HC
I have a data set with a column of values. I have also added a literal column with a target value in each row. I would then like another custom column that is either the difference between the value and the target, if the value is greater than the target, or 0 if not. Basically MAX(A-B,0).
I don't seem to be able to find a formula that does this. Is this not how Power BI works?
HC