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.
Need help with simple DAX formula. DAX will go in Column B. If The adjacent cell in Column A is not blank, then place a 1 in the adjacent cell in Column B. Thanks for any help!
Solved! Go to Solution.
HI @Anonymous
Column_B=
IF(Table[COLUMN_A] = BLANK(), BLANK(), 1)
OR
Column_B=
IF(LEN(Table[COLUMN_A])=0, BLANK(), 1)
OR
Column_B=
IF(ISBLANK(Table[COLUMN_A]), BLANK(), 1)
Did I resolve your issue? Mark my post as a solution!
Appreciate your Kudos, Press the thumbs up button!!
Regards,
Pranit
@Anonymous
assuming you are creating a new column and the name of the column you are pointing is "SourceColumn"
=If(ISBLANK([SourceColumn]), 0,1)
Hope this Helps
Vijay Perepa
If you find this as solution please share kudos and mention this as solution.
Thanks
Proud to be a Super User!
HI @Anonymous
Column_B=
IF(Table[COLUMN_A] = BLANK(), BLANK(), 1)
OR
Column_B=
IF(LEN(Table[COLUMN_A])=0, BLANK(), 1)
OR
Column_B=
IF(ISBLANK(Table[COLUMN_A]), BLANK(), 1)
Did I resolve your issue? Mark my post as a solution!
Appreciate your Kudos, Press the thumbs up button!!
Regards,
Pranit
Thanks this worked perfect!
That doesn't sound like DAX at all. Do you maybe mean Power Query? What have you tried so far?
Unfortunately I don't have permissions to do the edit in Power Query. Just trying to find a way to make the change in the data table. I just need to have a column populate 1 for every adjacent cell that is not blank. I need the "1's" to use as a count field since my table visual is not populating/counting all the data as it should.
is that computation something you only need to do once (calculated column) or can the result be impacted by filter choices (measure) ? I guess the former?
Yeah it's just needed once.
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 |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |