Forum Discussion
MAX-Formula
Hello,
I have a problem with the MAX formula. In my example, I want to calculate a sum of sales with maximum of date only for group A. And for group B I calculate the sum of sales without the maximum. Finally I calculate the total sum (MaxSalesGroupA + SalesGroupB). In the example, if I select group A from the filter, the name "Max" has 4000, but this is not correct. In this case the name "Max" does not need to be in the matrix anymore.
I actually have a big file, but I added an example in the attachment (see picture of Excel).
Best regards
Raw data (Excel):
Result:
DAX:
Hello,
I have solved the problem with the following DAX function.
Thank you very much for your support.
11 Replies
- TitoHelper IV
Hello,
I have solved the problem with the following DAX function.
Thank you very much for your support.