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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
nnouchi
Helper I
Helper I

Sales vs Target Matrix Comparison

Greetings all,

 

I’m looking to get advice regarding a historical sales comparison. I have two tables, actual invoice sales and target invoice sales. The issue is that my target sales are broken down by monthly targets instead of having a daily value to compare to my invoice sales table.

My sales manager wants to see a side by side (same visual) view and at the moment I can’t seem to figure out how to compare the two figures within a single chart.

My target sales table can be linked back to actual sales by an identifier Territory_ID.

I’ve created a Qtr/Month/Year key in my Sales Targets table tied back to the Dates table with the same key, which allows me to use this on a high-level scale.

Here’s the structure of the table:Regions_Targets.PNG

 

 

Now when I compare it on a matrix to look at actual vs targets, the result doesn’t provide targets for years other than 2018.

Sales vs Targets Comparison.PNG

 

 

My RM_Target table is linked to my date table in my relationships. The way I currently tie these two tables is based off of the QTR/MONTH/YR column --> 

 

Target Sales = CALCULATE(Sum(RM_Target[Target_amount]),USERELATIONSHIP(RM_Target[QTR/MTH/YR],Dates_V2[QTR/MNTH/YR]))

 

Any help would be greatly appreciated.

 

 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@nnouchi,

 

You may try to apply virtual relationship in DAX measure.

https://www.sqlbi.com/articles/physical-and-virtual-relationships-in-dax/

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors