Forum Discussion
locle90
5 years agoHelper I
average measure
Dear All, I have a problem with the average production revenue in the BI report. I have a need to average sales as below. Value and brand entry daily. Can you help me create a measure to calculate t...
MattAllington
5 years agoCommunity Champion
Averagex(tableName,tableName[Brand] * tableName[Revenue])
- locle905 years agoHelper I
Dear Matt,
Thanks for your reply but maybe not right.
Please refer my picture bellow.I have model and KG and i want to see value like that.
- MattAllington5 years agoCommunity Champion
Ok, yes. Mine is simple average, yours is the weighted average. I think the following will work
SUMX(tableName,tableName[Model] * tableName[KG]/sum([tableName[KG]))
- locle905 years agoHelper I
Dear Matt,
Greate.It's can work now.
Thanks so much for your support.
Loc Le