Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
LeFennec
Frequent Visitor

Total Sales and Quota

I have quarterly sales targets (Quotas) at the Area level.  What needs to be done to match the quarterly actual sales data to the quarterly quotas?

My Sales Data has the Areas lined up with the Areas in the quotas, but I cannot seem to get the attainment numbers to line up, using the unpivot function to flatten out the table).

I would like to see a table with the Area, Quota, Sales, and attainment % against Quota.

How do I line up my dates in the two tables?  How do I Any guidance on this?

I have a date table linked to the Sales Date.

 

 

NewQ1Q2Q3Q42017
East1,950,0002,134,0002,018,0002,716,0008,818,000
West963,0001,121,0001,099,0001,477,0004,660,000
EMEA2,157,0002,240,0002,052,0002,764,0009,213,000
APAC619,000643,000589,000793,0002,644,000
Worldwide5,857,4536,346,2406,145,8758,198,43326,548,001
Renewal979,4441,647,3561,420,6641,075,0785,122,543
5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi @LeFennec,

 

Please share the layout of both tables - Actual and Quotas.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Quotas above.  Sales data like this:

 Total Sales AreaTerritoryBilling DateQuarter
 $        3,709.44EMEADACH1/15/2017Q117
 $        6,342.08WestNorthwest1/9/2017Q117
 $      29,780.65EMEADACH2/6/2017Q117
 $      30,660.25APACANZ3/15/2017Q117
 $      24,369.62EastNortheast3/30/2017Q117
 $        3,781.43EMEAFrance3/30/2017Q117
 $      28,097.44WestTexas2/28/2017Q117
 $      29,417.17EMEAMedit1/15/2017Q117
 $      24,404.36APACChina1/9/2017Q117
 $        1,096.71EastNortheast2/6/2017Q117
 $      24,492.81EMEAUK3/15/2017Q117
 $      26,379.04WestNorthwest3/30/2017Q117
 $      20,119.82EMEAFrance3/30/2017Q117
 $      30,241.95APACChina2/28/2017Q117
 $      22,196.34EastSoutheast1/15/2017Q117
 $      28,430.71EMEAUk1/9/2017Q117
 $      30,624.26WestTexas2/6/2017Q117
 $      31,307.53EMEADACH3/15/2017Q117
 $        7,730.61APACANZ3/30/2017Q117
 $      11,257.21EMEADACH2/6/2017Q117
 $      25,712.24WestNorthwest3/15/2017Q117
 $      26,039.12EMEADACH3/30/2017Q117
 $        7,016.67APACANZ3/30/2017Q117
 $      27,627.18EastNortheast2/28/2017Q117

Hi,

 

This one took a while to solve.  Download the .pbix file from here.

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @LeFennec,

 

If I understand correctly, the table in your post is your desired result, right? You said you want to line up dates in the two tables, what are these two tables? Please share us the sample data stored in your source table (table structure) so that I can test for you.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The DB has field Area which aligns to East, West, EMEA, etc.

I want to take the total Sales by Area and create a table using the targets and total sales as results.

Like this:

Q1 ActualsFrom DATAFrom TargetsCalculationCalculation
AreaQ1Tot SalesQ1 TargetQ1 Attain %Q1 To Go to Target
East         2,211,300       1,950,000113.4%-261,300
West         1,014,039           963,000105.3%-51,039
EMEA         2,031,894       2,157,00094.2%125,106
APAC             492,724           619,00079.6%126,276
Other             432,551                      -  NANA
Worldwide         6,182,508       5,857,453105.5%-325,055

 

The Target table would look like this and populate the Q1 Target column:

 Targets/Quota    
AreaQ1Q2Q3Q42017
East          1,950,000   2,134,000   2,018,000   2,716,000   8,818,000
West              963,000   1,121,000   1,099,000   1,477,000   4,660,000
EMEA          2,157,000   2,240,000   2,052,000   2,764,000   9,213,000
APAC              619,000      643,000      589,000      793,000   2,644,000
Other                          -                    -                    -                    -                    -  
Worldwide5,857,4536,346,2406,145,8758,198,43326,548,001

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors