Reporting from the Smaller Side of the Relationship
March 03, 2023 - by Bill Jelen
Problem: I am trying to report sales and quota. My sales table has hundreds of records. The Quota table has just one record per region. The pivot table created through the Data Model is not working.
Strategy: In the data below, both column C and Column E were originally called Region. For this example, those fields have been named differently, The relationship is between Region_S and Region_Q.
If you use Region_S in the pivot table, the Quota numbers will be incorrect. Change the pivot table to use Region_Q from the Quota table and they will be correct.
I have to admit, as someone who formerly dabbled in Access, I expected a wrong answer in the top example. But I would have expected the Central region quota of $300,000 multiplied by the 213 records for the Central region, producing $63,900,000.
This article is an excerpt from Power Excel With MrExcel
Title photo by Monty Allen on Unsplash