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
FrankAT
Community Champion
5 years agoHi Anonymous ,
you can do it like this:
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)