Wishmaster89
Board Regular
- Joined
- Jan 10, 2022
- Messages
- 77
- Office Version
- 2021
- 2019
- 2016
- Platform
- Windows
- MacOS
Hello
I have written a formula which calculates completion dates in August and this works fine.
I tried to have a go at rewriting it using SUMX but i get this error " "A table of multiple values was supplied where a single value was expected"
CALCULATE formula =
SUMX version
I have written a formula which calculates completion dates in August and this works fine.
I tried to have a go at rewriting it using SUMX but i get this error " "A table of multiple values was supplied where a single value was expected"
CALCULATE formula =
Code:
Completions August = CALCULATE(Count('Learning Plan'[Completion Date]),
DATESBETWEEN('Learning Plan'[Completion Date],
DATE(2023,8,1),
DATE(2023,8,31)
)
, 'Learning Plan'[EPA Grade]="Distinction"
)
SUMX version
Code:
sumxAugCompletions = COUNTX(FILTER('Learning Plan', DATESBETWEEN('Learning Plan'[Completion Date],
DATE(2023,8,1),
DATE(2023,8,31)
)),[Countofcomp])