I'm using the calculation below to calculate the sum of the amount for accounts >= 200
And the problem I have is when I visualize Account with Account total with excel, it gives me the total amount in all accounts.
How can I solve this?`
Account total:= CALCULATE(SUM('Table'[amount]),'Table'[Type]= "ABC",'Table'[account] >=200)
You should be using:
The difference is that your current formula is equivalent to:
i.e. identical to that which I give apart from the crucial difference that it applies an (in your case implicit)
ALLto the table prior to filtering. This implicitALLwill override any filters you may be applying externally.