Forum Discussion
Need Help
Hi Everyone !
I'm seeking for solution for below scenario
i have table like this
Requirement :Find out Count of "Positive" Word Occurrence in Above table based on ID column
I Tried that using below DAX ,but it is not working
Result =
var Table A =
summarize( Table name , ID,"Occurrence",
if (Result[Type]="Positive", Count( [Type]),0)
)
return
countx=(Table A , "Occurrence")
Anyone please help me
Hi Arunravi0001 check new version below.
Test count =IF (Sheet1[Type] = "Positive",CALCULATE (COUNTAX ( FILTER ( Sheet1, Sheet1[Type] = "Positive" ), Sheet1[Type] ),ALLEXCEPT ( Sheet1, Sheet1[ID] )),0)Did I answer your question? Kudos appreciated / accept solution!
7 Replies
- some_bihCommunity Champion
Hi Arunravi0001 possible solution as following calculated column
Test count =IF (Sheet1[Type] = "Positive",CALCULATE (COUNTAX ( FILTER ( Sheet1, Sheet1[Type] = "Positive" ), Sheet1[Type] ),ALLEXCEPT ( Sheet1, Sheet1[ID] )))Did I answer your question? Kudos appreciated / accept solution
- Arunravi0001Frequent Visitor
- Arunravi0001Frequent Visitor
Thanks for this some_bih 🙂