The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 the price that value?
Brand | Revenue |
10 | 500 |
20 | 300 |
30 | 800 |
40 | 1000 |
average=(500/total revenue)*10+(300/total revenue)*20+(800/total revenue)*10+(1000/total revenue)*40
Thanks
Averagex(tableName,tableName[Brand] * tableName[Revenue])
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.
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]))
Dear Matt,
Greate.It's can work now.
Thanks so much for your support.
Loc Le
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
33 | |
20 | |
16 | |
15 |
User | Count |
---|---|
56 | |
50 | |
36 | |
35 | |
31 |