Forum Discussion
GRN_VPR8
2 years agoFrequent Visitor
Average
I'm hoping someone can assist, but I seem to be lost. I have been looking at AVERAGE & AVERAGEX commands and various other posts and just seem to be able to get the desired result. The challenge I...
- 2 years ago
Can you compare the attached PBIX against your version?
The measure values in a matrix appear to match the summary table in your first post, where each individual date shows a sum, and those sums are averaged in the AVG column.
I made a slight adjustment in the attached PBIX to make use of a Date table, with some alternatives shown commented:
Average of Daily Sum of Duration = AVERAGEX ( VALUES ( 'Date'[Date] ), -- Alternatives: -- SUMMARIZE ( Data, 'Date'[Date] ), -- VALUES ( Data[DATE] ), CALCULATE ( SUM ( Data[DURATION] ) ) )Regards
OwenAuger
2 years agoSuper User
Can you compare the attached PBIX against your version?
The measure values in a matrix appear to match the summary table in your first post, where each individual date shows a sum, and those sums are averaged in the AVG column.
I made a slight adjustment in the attached PBIX to make use of a Date table, with some alternatives shown commented:
Average of Daily Sum of Duration =
AVERAGEX (
VALUES ( 'Date'[Date] ),
-- Alternatives:
-- SUMMARIZE ( Data, 'Date'[Date] ),
-- VALUES ( Data[DATE] ),
CALCULATE ( SUM ( Data[DURATION] ) )
)
Regards
GRN_VPR8
2 years agoFrequent Visitor
Thank you for figuring it out!