Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I am finding a solution for IF Condition, saw thousands of threads but din't get the answer.
Please help me, I am stuck because of this calculation.
Below is my table:-
I want a column for days on sales, where if inventory<>current mnth values, it should go to next condition,
but as above, if 1260<>805, it is giving a blank,
the above calculation is a measure. but i want it in a column as i need the column for lookup and further calc as well.
Please find below link for my PBIX file.
https://www.dropbox.com/s/fs6uogt1ggs6qvm/try1.pbix?dl=0
My main concern is to get the calculation in a column and not measure.
And also why if the first condition is not satisfied, it does not take into consideration the second or third condition.
Urgent Help Needed!
I am stuck here from days.
you need to change the condition into
@Anonymous wrote:
I want a column for days on sales, where if inventory<>current mnth values, it should go to next condition,
but as above, if 1260<>805, it is giving a blank,
the above calculation is a measure. but i want it in a column as i need the column for lookup and further calc as well.
Your condition is not checking <> it is doing [inv] <= cmnthe and 1260 <= 805 is false so it falls through to the next condition which is looking for a value of 3 months ago which does not exist and since there are not other conditions to check the switch returns a blank value.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |