This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I'm pretty new into DAX formulas.
I'd like to know the reason why in the formula reported into the screendshot there is no possibility to inser the variables of the table.
I need to write a formula like this--> If(Ship Date<>Blank(), 1,0) -->why it is not allow to me?
Solved! Go to Solution.
Hi @giroldoale ,
In the measure, if you want to get the row value you will need to use SELECTEDVALUE() function.
So your measure should be like:
IF(SELECTEDVALUE(skip date)<>blank(),1,0)
Best Regards,
Jay
Hi @giroldoale ,
In the measure, if you want to get the row value you will need to use SELECTEDVALUE() function.
So your measure should be like:
IF(SELECTEDVALUE(skip date)<>blank(),1,0)
Best Regards,
Jay
@giroldoale Hey Mate ,
While using if you have provide some aggregation(max (date[date]) or min(date[date]) then only you are allowed else use power query .
Kindly open power query then go to add col. then select conditona col and follow below method it will fulfil your requirment .
output will be when date then 1 else 0 .
output will be like this
Kudos will be appriciated .
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 22 | |
| 22 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 43 | |
| 41 | |
| 39 | |
| 21 | |
| 19 |