How do I count two types of values in the same conlumn e.g I have sentiment column with Happy and Unhappy, I want to count both e.g Customer_Sentiment_Total = CALCULATE(COUNT(Sheet1[Sentiment]),FILTER(Sheet1, AND(Sheet1[Sentiment]="Unhappy", Sheet1[Sentiment]="Happy"))) my AND function does not work
You need to use an OR Statement. Use below. Customer_Sentiment_Total = CALCULATE(COUNT(Sheet1[Sentiment]),FILTER(Sheet1[Sentiment]="Unhappy" || Sheet1[Sentiment]="Happy"))
hi buddy, thanks a lot , i was stuck while using DAX, after watching this it has resolved. once again tq so much.
This was helpful. Thank you!
Really useful! Thank you
Useful video. I learned something from it.
Glad to hear it!
I liked the mic ur using, it is giving great voice
Thanks! It helped me!
YOU helped me __/\__ Thanks
Glad to hear it!
How do you count distint values from two text criteria?
Nice one! Thank you.
I get the same results.. Im making a line graph but the graph doenst change if i add the quick measure. The quick measure doens't do anything for me.
Thanks man
How to Exclude a particular value in a column and filter rest for the values.?
thank u
How do I count two types of values in the same conlumn e.g I have sentiment column with Happy and Unhappy, I want to count both
e.g Customer_Sentiment_Total = CALCULATE(COUNT(Sheet1[Sentiment]),FILTER(Sheet1, AND(Sheet1[Sentiment]="Unhappy", Sheet1[Sentiment]="Happy"))) my AND function does not work
You need to use an OR Statement. Use below.
Customer_Sentiment_Total = CALCULATE(COUNT(Sheet1[Sentiment]),FILTER(Sheet1[Sentiment]="Unhappy" || Sheet1[Sentiment]="Happy"))
But what about multiple conditions? you did for one and two. If we want to work with more than two conditions????
chill on the reverb next time.
It ain’t so bad, isn’t it ? 😁