Forum Discussion
Anonymous
5 years agoNot applicable
Max Total
Hi All, I want to have grand total of Max values Here is how data set looks like sometimes i have 2 dates, sometimes 3 dates, but target needs to be same, hence Iam struggling...
- Anonymous5 years ago
dont know if this is bloated, i kinda got it working with this
i forgot about summarise earlier
Measure =Var MaxTarget = maxx('Staff Daily Utilisation','Staff Daily Utilisation'[Target Max As per current working Days])Var MaxTargetTotal = SUMMARIZE('Staff Daily Utilisation','Staff Daily Utilisation'[Staff Name],"Max Total",MaxTarget)Returnif(HASONEVALUE('Staff Daily Utilisation'[Staff Name]),MaxTarget,SUMX(MaxTargetTotal,[Max Total]))
msksenthil
5 years agoHelper III
Anonymous can you try the below
SUMX ( DISTINCT ( 'TableName' ), 'TableName'[FieldName] )
- Anonymous5 years agoNot applicable
tnks
I have tried this before, since all values are distinct, just that some data is missing everyday and i want to put max regardless