Skip to content

Instantly share code, notes, and snippets.

@jayantkodwani
Created February 20, 2021 20:56
Show Gist options
  • Save jayantkodwani/207ea487715f364260f0d9ad29da4c5a to your computer and use it in GitHub Desktop.
Save jayantkodwani/207ea487715f364260f0d9ad29da4c5a to your computer and use it in GitHub Desktop.
DAX Code to create single column for sentiments
Overall Sentiment = IF(Responses[Sentiment.positive]=1,"Positive",IF(Responses[Sentiment.neutral]=1,"Neutral",IF(Responses[Sentiment.negative]=1,"Negative","NA")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment