Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Please find Pbix file in this location.
I am trying to come up with distinct value as 1 when there is no value with certain criteria.
So, bascially, as illustrated as below, I am trying to create a case as one other exception when
there is no Step = 2 at all.
Bottom illustration shows that there is a case when Step = 1.
What I am trying to do is create as 1 other exception count when there is no Step = 2 at all.
Bottom is DAX code that I have been trying to add the condition.
How do I express in DAX ( If value (Step = 2) you are looking for is blank, please count as 1)?
Logically, it would be like:
-----------------------------------------------
If (Select * from Table where Step = 2) Is NULL
THEN
count as 1
----------------------------------------------
@JustinDoh1 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@amitchandak Thank you for following up on this issue. Please find my Pbix file (after removing sensitive data). This the Measure that I was working on. Thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 9 | |
| 8 | |
| 8 | |
| 8 |