There are 7 pivot table secrets in this video, and you haven't seen six of them. The question: I have several projects in a pivot table. At the bottom, as part of the pivot table, I want an average of the non-zero rows.
The person is currently using AVERAGEIF outside of the pivot table, but that formula must be adjusted.
Today, we use a Data Model pivot table and a DAX Measure to calculate the average. The resulting pivot table has too many rows, so I use a new Set based on Rows.
The DAX formula used in the video is:
=DIVIDE (
SUM(LCosts[Amount]),
COUNTROWS(
FILTER(
SUMMARIZE(LCosts, LCosts[Project], "Total", SUM(LCosts[Amount])),
[Total] <> 0 )))
The 8 secrets:
Secret 1: Unlock features with this checkbox
Secret 2: Adding a...