Forum Discussion
Anonymous
6 years agoNot applicable
DAX for IF formula
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!
- Anonymous6 years ago
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
lbendlin
6 years agoSuper User
That doesn't sound like DAX at all. Do you maybe mean Power Query? What have you tried so far?
Anonymous
6 years agoNot applicable
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.
- lbendlin6 years agoSuper User
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?
- Anonymous6 years agoNot applicable
Yeah it's just needed once.