The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
Please could you kindly assist with the below.
I would like to calculate the Average value of a product. (This product is in multiple rows within my workbook). When i calculate the average it gives me the total average of all the rows combined and not the single average Value, please see below my formula, what can i do to tweek it so it provides a single units average price and not the sum of the total Price count average for each product.
Below is my formula :
Solved! Go to Solution.
Hi @Anonymous ,
You can try to use following measure to calculate average per product:
Average Unit Selling Price = CALCULATE ( AVERAGE ( 'Model Selling Price'[Average Price] ), ALLSELECTED ( 'Model Selling Price' ), VALUES ( 'Model Selling Price'[Product] ) )
If above not help, please share some sample data for test and coding formula.
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
You can try to use following measure to calculate average per product:
Average Unit Selling Price = CALCULATE ( AVERAGE ( 'Model Selling Price'[Average Price] ), ALLSELECTED ( 'Model Selling Price' ), VALUES ( 'Model Selling Price'[Product] ) )
If above not help, please share some sample data for test and coding formula.
Regards,
Xiaoxin Sheng