Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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"
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |