Hi!
I try to calculate a new column, where I want to subtract two columns from different tables if one of the columns is not blank. I used this DAX:
Solved! Go to Solution.
So in my understanding, you dont want to substact when that column has blank right.
In that case, you rewrite as folows:
if(not(blank(col1)), col1- col2, "Pass your else command")
Pass your else command when blank value appears.
Hope this solves the problem and kindly mark this as solution
So in my understanding, you dont want to substact when that column has blank right.
In that case, you rewrite as folows:
if(not(blank(col1)), col1- col2, "Pass your else command")
Pass your else command when blank value appears.
Hope this solves the problem and kindly mark this as solution
Seems to be correct. I was about to write the same logic.
@Marit Kindly mark as solution .
User | Count |
---|---|
97 | |
39 | |
35 | |
16 | |
14 |
User | Count |
---|---|
99 | |
30 | |
28 | |
16 | |
16 |