Forum Discussion
curtismob
5 years agoHelper IV
Exclude Blank Measure Values From Average Calculation
Hello, I am looking for some direction on excluding blank measure values from my average cost per square foot calculation. I am not using AVERAGE, because I have to do the cost per sqft calculation ...
Ashish_Mathur
5 years agoSuper User
Hi,
Upload your PBI file to Google Drive and share the download link here.
- curtismob5 years agoHelper IV
Ashish,
Thank you for responding, please see link below.
https://drive.google.com/file/d/1v01ZpHo2XRy3LJSODzDEsOfXlF2iYsZp/view?usp=sharing
- Ashish_Mathur5 years agoSuper User
- curtismob5 years agoHelper IV
Thanks again for the response. I used very simple data for my example, possibly too simple. Unfortunately, if the data is changed by adding another product in each divison and both cost and square feet numbers are changed,so that all cost per sqft doesn't come out to 10.00, then the suggested changes do not appear to work.
Total area = SUM(CostPerSqft[SQFT])Total cost = SUM(CostPerSqft[Cost])Cost per square foot = DIVIDE([Total cost],[Total area])The average totals appear to be close, but are still off.