Forum Discussion
Anonymous
6 years agoNot applicable
DAX error in PBI
Hi, I am getting an error with this DAX formula: Number of NW Accounts = CALCULATE(SUM('Table1'[CustomerName]),'Table2'[Region]="Northwest") The error msg is this: "Calculation ...
- 6 years ago
Then you want to swap SUM for COUNT.
- 6 years ago
Hi Anonymous ,
You can also use "COUNTROWS",is your issue solved?If so,could you mark the reply as answered to close it?
Much appreciated.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
Anonymous
6 years agoNot applicable
The number of customers. There is no customer id, so I thought to use the 'Name' field to count the number of customers. Thanks.
lbendlin
6 years agoSuper User
Then you want to swap SUM for COUNT.
- Anonymous6 years agoNot applicable
Thanks. I forgot.
- v-kelly-msft6 years agoCommunity Support
Hi Anonymous ,
You can also use "COUNTROWS",is your issue solved?If so,could you mark the reply as answered to close it?
Much appreciated.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!- Anonymous6 years agoNot applicable
Thank you!