• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Why average in pivot table is different

cchildaa

New Member
1716954143163.png

Hi everyone. I want to get 116,803,159 of average but pivot table displays 3,899,938.529. How can I fix it? Many thanks.
 
This is forum for Power tool stack (Power Pivot, Power Query, Power BI etc).
What you have is standard pivot table.

You can't do that sort of Avg operation in traditional pivot. Source data granularity must match that of your Rows field. Meaning you need source data aggregated at daily level.

If you use Power Pivot, you could write DAX measure to handle different calculation based on evaluation context. Using IF(HASONEVALUE(column), Calculation1, Calculation2) DAX pattern.
 
Back
Top