fher9728

New Member
Joined
Jan 9, 2020
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi!

I´ve been trying to get a measure in my pivot table to get the % of reject orders of a partner / Total order order of partner, and that it can change if I use a slicer to change it by day, month, etc.

This is an example of the data table which I use:

1623629878531.png


And this is the pivot table which I have created:

1623629917661.png


I would like to calculate the Percentage of Rejected message type of the Partners (fail rate owner Partner) / Total orders of the Partner(this would be the total of rejected messages which from all type of fail rate owner), and that the measure could change if a filter the data by date or which whatever I filter it.

I can do it with countifs but i need to get this percentage in the Pivot table.

For example: in high demand por partner 1, it only has 1 count, but the total orders for this Partner are 7, the percentage would be: 1/7 = 14%


I attached the example file and I would be very grateful if anyone could help me.

thanks!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Can you add your data here (preferably copy and pasted with xl2bb) to make things a little easier?
 
Upvote 0
Can you add your data here (preferably copy and pasted with xl2bb) to make things a little easier?
example.xlsx
BCDEFGHIJ
1account_ownercity_namecountry_namedate_dayfail_rate_ownerFranchisePartnerreject_messageWeek
2AM 1City 1Country 15/13/2021IS_CONFIRMEDFranchise 1Partner 1IS_CONFIRMEDW20
3AM 1City 1Country 16/13/2021IS_CONFIRMEDFranchise 1Partner 1IS_CONFIRMEDW20
4AM 1City 1Country 16/13/2021IS_CONFIRMEDFranchise 1Partner 1IS_CONFIRMEDW20
5AM 1City 1Country 16/13/2021USERFranchise 1Partner 1CancelledW20
6AM 1City 1Country 16/13/2021PARTNERFranchise 1Partner 1High DemandW20
7AM 1City 1Country 16/13/2021PARTNERFranchise 1Partner 1Missing ProductW20
8AM 1City 1Country 16/13/2021PARTNERFranchise 1Partner 1Partner ClosedW20
9AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2Partner ClosedW23
10AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2Partner ClosedW23
11AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2Partner ClosedW23
12AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2Missing ProductW23
13AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2Missing ProductW23
14AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2High DemandW23
15AM 2City 2Country 26/13/2021PARTNERFranchise 2Partner 2High DemandW23
16AM 2City 2Country 26/13/2021IS_CONFIRMEDFranchise 2Partner 2IS_CONFIRMEDW23
17AM 2City 2Country 26/13/2021IS_CONFIRMEDFranchise 2Partner 2IS_CONFIRMEDW23
18AM 2City 2Country 26/13/2021IS_CONFIRMEDFranchise 2Partner 2IS_CONFIRMEDW23
19AM 2City 2Country 26/13/2021IS_CONFIRMEDFranchise 2Partner 2IS_CONFIRMEDW23
Sheet1


example.xlsx
AB
1fail_rate_ownerPARTNER
2
3Row LabelsCount of reject_message
4High Demand3
5Partner 11
6Partner 22
7Missing Product3
8Partner 11
9Partner 22
10Partner Closed4
11Partner 11
12Partner 23
13Grand Total10
Pivot
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Calculated measure in Pivot Table

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Calculated measure in Pivot Table

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
sorry, wont ever happen again!
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top