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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Basic relashionships and Matrix visualization

Hi!!

 

I need help with something that seems quite basic, but i'm having some trouble.

I have two tables that have some similar columns: reseller, state and financial period.

One tells me how much my reseller should be paying me, the other is data from a system that tells me exactly how much they actually did pay.

 

I used the reseller column to create the relationship and when i try to add the state to the matrix, it does not work (because i'm using the state from one table, or the state from the other, so it can't filter).
How can i do this right?

corte.PNG

ResellerStateValue System 1Financial Period
ABCNew York301/Aug - 10/Aug
ABCCalifornia201/Aug - 10/Aug
ABCTexas701/Aug - 10/Aug
DEFNew York101/Aug - 10/Aug
DEFCalifornia201/Aug - 10/Aug
DEFTexas1001/Aug - 10/Aug
GHINew York401/Aug - 10/Aug
GHICalifornia501/Aug - 10/Aug
GHITexas701/Aug - 10/Aug

 

ResellerStateValue System 2Financial Period
ABCNew York101/Aug - 10/Aug
ABCCalifornia301/Aug - 10/Aug
ABCTexas401/Aug - 10/Aug
DEFNew York501/Aug - 10/Aug
DEFCalifornia201/Aug - 10/Aug
DEFTexas301/Aug - 10/Aug
GHINew York501/Aug - 10/Aug
GHICalifornia701/Aug - 10/Aug
GHITexas401/Aug - 10/Aug

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@Anonymous - Can you create a combo key like this? Deja vu?

Key = [Reseller] & "-" & [State]

 

In both tables. Form your relationship on that?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Anonymous - Can you create a combo key like this? Deja vu?

Key = [Reseller] & "-" & [State]

 

In both tables. Form your relationship on that?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks, @Greg_Deckler!!

I'm gonna try it on my actual data later.

 

key.png

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 MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.