Hi there,
I am trying to type a DAX formula that satisfies the following condition:
if the 'sales'[sales-number] contains Number, then print 'Sold Out'
and if it is empty, then print 'Ready for Sale'
advince thanks for helping.
Solved! Go to Solution.
Hi,
Like Amit said you can use PQ or if you want a dax solution:
You can achieve this by either checking for blank
Or checking for number:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi,
Like Amit said you can use PQ or if you want a dax solution:
You can achieve this by either checking for blank
Or checking for number:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
@Hadill , create a new column in power query
if [Column] =null then "Ready for Sale"
else if Value.Is([Column], Int64.Type) then "Sold Out" else "Other"
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
104 | |
58 | |
45 | |
29 | |
24 |
User | Count |
---|---|
133 | |
94 | |
75 | |
44 | |
41 |