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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Relationship Help for Sales to Quota

Good Day,

 

I have a report that I have been working on for about a year now.  I can typically solve most problems on my own, but I cannot figure this one out despite how simple it seems.  The report has 15+ tables, but I only need the following tables for this purpose: Calendar, Invoiced(e.g. sales), a table connecting "lead sales personnel" and their "regional sales personnel" (e.g. lead sales personnel may have several regional sales personnel report to them), customer master, and quota table by month, which only shows the "lead sales personnel".  Within the customer master, I have the "lead sales personnel" and the "regional sales personnel", by customer.

 

What I am trying to do is create a matrix that shows "Lead Sales personnel" as rows, with columns for sales by month, ytd sales, and ytd quota.  

 

I can create separate matrices that show all the correct values, but when I try to combine them into one matrix, I end up with what I believe is a relationship issue.  Depending with how my relationship is setup, the resulting matrix I get is either a table with a YTD quota that is blank for all rows, or my monthly sales number is the same for each of row (the "lead sales personnel") and the YTD quota is correct.  I have tried various ways to adjust the relationships, but I have not been able to figure it out.

 

I am hoping to get some guidance on how these relationships should be set-up.  Ideally, I would use the "lead sales personnel" and the "regional sales personnel" from the customer master, because that is automatically updated each day.  But, when I do that, the ytd quota values are all blank currently.  If I use the "lead sales personnel" directly from the quota table, the YTD quota is correct, but the sales by month are not.

 

I appreciate this may be hard to follow, but I can answer questions.  I cannot share my data unfortunately due to its sensitivity.

 

Cheers

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Is sales Quota and Sale coming from the same table. If not are they joined with a common calendar table,

Are you using field common calendar table in visual. Make sure there is no timestamp in the date joined with calendar table(12:00 AM is fine)

 

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

refer my video Why Time Intelligence Fails - Power bi 5 Savior Steps for TI: https://youtu.be/OBf0rjpp5Hw

Anonymous
Not applicable

Thank you for the response,

 

Below is a screenshot of how the relationships are currently set-up.  I just put it together in Excel, but I hope it is helpful.  

 

klew31_0-1619620448270.png

 

Anonymous
Not applicable

Just bumping up this thread... 

 

Any help is appreciated!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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