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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Leif_Eriks0n
Regular Visitor

Trouble Linking Tables for Matrix

I am trying to link two separate tables for one matrix.

 

Table 1 has the following columns: Order Date, Time Interval (15 minutes), Venue Name, Service Type, Payment Method, Sales Amount

Table 2 has the following columns: Order Date, Time Interval (15 minutes), Venue Name, Service Type, Payment Method, Order Count

 

So, almost identical tables but one has sales amount and one has order count.  In my visual I want to show one matrix that has Venue Name for rows and Sales Amount and Order Count for values.  I also want to run a measure for average check, and I need this to be filterable by date.  My problem is, no matter how I connnect the tables (order date, venue name, etc.), I can't get both the Sales Amount and Order Count to filter at the same time.  Below is the data with no date filter:

 

Leif_Eriks0n_1-1663610351756.png

Right now the tables are connected by Venue Name date slider is coming from the Table 2.  The numbers and average check calculation in the picture are correct.  However, when I move the slider to just one day (or any other range) the Order Counts change but the sales stay the same:

 

Leif_Eriks0n_2-1663610500718.png

So now the transactions are correct but sales are not, and average check is thrown way off.  The same thing happens inversely if I use the order date from Table 1 in the slider - sales amount changes but the transactions do not change.

 

Does anyone know how to fix this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Leif_Eriks0n ,

 

I suggest you to create dim tables like DimVenue and DimDate, then create relationships between them and Table1/Table2.

RicoZhou_0-1663658844982.png

RicoZhou_1-1663658861245.png

Result in my sample is as below.

By Default:

RicoZhou_4-1663658925360.png

In January:

RicoZhou_2-1663658884896.png

In February:

RicoZhou_3-1663658908158.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Leif_Eriks0n
Regular Visitor

Thanks, this worked.  I had to create a new/duplicate table for everything I wanted to filter on, including Payment Method, Service Type, and Time Interval.

Anonymous
Not applicable

Hi @Leif_Eriks0n ,

 

I suggest you to create dim tables like DimVenue and DimDate, then create relationships between them and Table1/Table2.

RicoZhou_0-1663658844982.png

RicoZhou_1-1663658861245.png

Result in my sample is as below.

By Default:

RicoZhou_4-1663658925360.png

In January:

RicoZhou_2-1663658884896.png

In February:

RicoZhou_3-1663658908158.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors