Avg UnitsSold per Product CC =
VAR CurrentRowProduct = Data[Product]
VAR PerProductTable =
FILTER ( Data, Data[Product] = CurrentRowProduct )
RETURN
AVERAGEX ( PerProductTable, Data[Unit Sold] )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Avg UnitsSold per Product CC =
VAR CurrentRowProduct = Data[Product]
VAR PerProductTable =
FILTER ( Data, Data[Product] = CurrentRowProduct )
RETURN
AVERAGEX ( PerProductTable, Data[Unit Sold] )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thank You!!
@genek79 , a new column
Averagex(filter(Table, [Product] = earlier([Product] ) ), [Unit Sold])
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
364 | |
96 | |
66 | |
54 | |
38 |
User | Count |
---|---|
359 | |
112 | |
78 | |
61 | |
50 |