Forum Discussion
Anonymous
5 years agoNot applicable
Result based on 2 columns
Hi, I need to create a custom Categeory = "BA" and "Place" ="" then "BA" else "".
- 5 years ago
Anonymous , Try a new column like
if(not(isblank([Categeory])) && isblank([Place]), [Categeory], blank())
Based on highlighted column
- 5 years ago
Anonymous
In Power Query, you would create a custom column as follows:
requiredColumn = if [Categeory] <> null and [Place] = null then [Categeory] else nullamitchandak has already provided the best DAX solution.
Pete
amitchandak
5 years agoSuper User
Anonymous , Try a new column like
if(not(isblank([Categeory])) && isblank([Place]), [Categeory], blank())
Based on highlighted column