Forum Discussion
SUMMING MAXIMUM VALUES IN TABLE
Hello, I have the following table with maximum values, but in the total sum, instead of getting 369, for example, in this case I get the highest value of the column, that is, 147.
The formula I'm using to calculate ACTUAL MO is:
Please use the below measure..I assume the column is "Tipo Area", if not please replace the right column names which is used in the visual
If(Hasonefilter(Ago 24[Tipo Area]),
CALCULATE(MAX('Ago 24'[MO])),
SUMX(VALUES('Ago 24'[Tipo Area]),CALCULATE(MAX('Ago 24'[MO])))
5 Replies
- dharmendars007Memorable Member
Hello Syndicate_Admin ,
You can tweak your measure like the below..
CURRENT MO =
If(Hasonefilter(Ago 24[DATE]),
CALCULATE(MAX('Ago 24'[MO])),
SUMX(VALUES('Ago 24'[DATE]),CALCULATE(MAX('Ago 24'[MO])))If you find this helpful , please mark it as solution and give kudos
Thank You
Dharmendar S
- Syndicate_AdminAdministrator
Thank you for the prompt response.
But I still get the maximum value in the total, that is, 147
Use the formula directed:
Measure 2 = if(hasonefilter('Ago 24'[DATE]),CALCULATE(MAX('Ago 24'[MO])),SUMX(VALUES('Ago 24'[DATE]),CALCULATE(MAX('Ago 24'[MO]))))- dharmendars007Memorable Member
Please use the below measure..I assume the column is "Tipo Area", if not please replace the right column names which is used in the visual
If(Hasonefilter(Ago 24[Tipo Area]),
CALCULATE(MAX('Ago 24'[MO])),
SUMX(VALUES('Ago 24'[Tipo Area]),CALCULATE(MAX('Ago 24'[MO])))- Syndicate_AdminAdministrator
thanks, it worked !!