Forum Discussion

Ahoyt145's avatar
Ahoyt145
Copper Contributor
Jun 14, 2021
Solved

Pivot Table - Add Column to Calculate Percent Sold

I have a spreadsheet with all of my companies accounts in Sales Force from the past year, both sold and unsold organized by zip code. The main purpose of what I'm using this for is to help better di...
  • SergeiBaklan's avatar
    SergeiBaklan
    Jun 15, 2021

    Ahoyt145 

    Instead of using implicit measures you may add explicit DAX measures as

    Sold:=CALCULATE(COUNTROWS(Range),Range[Sale Status]="Sold")
    
    Unsold:=CALCULATE(COUNTROWS(Range),Range[Sale Status]="Unsold")
    
    Total:=[Sold] + [Unsold]

    and use them in PivotTable

Resources