Forum Discussion
How to insert or get value after taking average?
- 5 years ago
Anonymous , The column I need take Average is not clear. So used
First add an index column- https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
and then this formula a new column in DAX
new column =
var _index = Minx(filter(Table, [Projekt#Investor#] =earlier([Projekt#Investor#])),[Index])
return
if([Index] =_index, averageX(filter(Table, [Projekt#Investor#] =earlier([Projekt#Investor#])),[betreuung]), blank())
Anonymous , The column I need take Average is not clear. So used
First add an index column- https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
and then this formula a new column in DAX
new column =
var _index = Minx(filter(Table, [Projekt#Investor#] =earlier([Projekt#Investor#])),[Index])
return
if([Index] =_index, averageX(filter(Table, [Projekt#Investor#] =earlier([Projekt#Investor#])),[betreuung]), blank())
amitchandak first of all thank you very much for your reply.
But unfortunately, I got blank for all. Please kindly check the picture.