Forum Discussion
Result based on 2 columns
Hi,
I need to create a custom Categeory = "BA" and "Place" ="" then "BA" else "".
Anonymous , Try a new column like
if(not(isblank([Categeory])) && isblank([Place]), [Categeory], blank())
Based on highlighted column
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
3 Replies
- amitchandakSuper User
Anonymous , Try a new column like
if(not(isblank([Categeory])) && isblank([Place]), [Categeory], blank())
Based on highlighted column
- BA_PeteSuper User
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
- FrankATCommunity Champion
Hi 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)