Help with a pivot

Copper Contributor

Hello,

I have a spreadsheet that has columns Deal Name, Owner, Phase 1, Phase 2, and Phase 3.  The Phase columns will have the date the deal has completed that phase; so it can be blank if not completed yet.  I want to count the number of Phase 1, Phase 2 and Phase 3 deals completed (only requirement is there is a date in this field) by Owner.  Confused on how to pivot this?

2 Replies

@aaashton 

 

This seems to work:

First the raw data

mathetes_0-1654891046619.png

Then the pivot table instructions (dialog box)

mathetes_1-1654891102519.png

And the resulting pivot table

mathetes_2-1654891171631.png

Spreadsheet attached

 

@aaashton 

In addition to @mathetes and assuming you are not on Mac, to calculate all phases completed you may add data to data model creating PivotTable and use such measure

Completed :=
CALCULATE (
    COUNTROWS ( Table1 ),
    Table1[Phase1] > 1,
    Table1[Phase2] > 1,
    Table1[Phase3] > 1
)

 

image.png