Forum Discussion
abukapsoun
5 years agoPost Patron
Calculate distinct
Hi, I need your expertise please I have the following table HC Price X 350 X 350 X 350 Y 400 Y 400 Z 600 Z 600 How can I compute the average price t...
- 5 years ago
abukapsoun - Seems like this should be:
Measure 29 = VAR __Table = SUMMARIZE('Table (29)',[HC],"Average",AVERAGE([Price])) RETURN AVERAGEX(__Table,[Average])Attached PBIX below sig, Page 29.
amitchandak
5 years agoSuper User
abukapsoun , Try a measure like
averageX(values(Table[HC]), max(Table[Price]))
or
averageX(Summarize(Table, Table[HC],"_1", max(Table[Price])), [_1])
abukapsoun
5 years agoPost Patron
Hi,
both did not work
- amitchandak5 years agoSuper User
- abukapsoun5 years agoPost Patron
I am expecting (350+400+600)/3
- amitchandak5 years agoSuper User
abukapsoun ,Please find the attached file after the signature . I think that 450 . refer Avg2, Avg 3