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

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

Reply
joaquinel
Helper I
Helper I

Matrix selection with two tables not connected directly

Hi,

 

I have a model like the picture below.

 

I need to create a Matrix using the table 2 (Cash Balances) and 3 (cash Ledger). The table 2 contains the inicial Balance and the 3 contains the movements. To get the Final Balance I have to sum the results of 2 plus the result of 3 on depending de date.

 

My problem is that if I want to use a Matrix with the company name (table 1) I have no direct link between 1 and 3.

 

I'm using the formula below, but as I say, I cannot link it with Companies. Could you help me? thank you

 

CALCULATE(SUM(CASH_BALANCES[ACTUAL_FORECAST]), filter(ALLEXCEPT(CASH_BALANCES, CASH_BALANCES[ACC_CODE],ACCOUNTS[ACC_CODE], BANKS[BANK_CODE],BANKS[DESCRIPTION]),CASH_BALANCES[BALANCE_TYPE] = -1))

 

 

modelobi.jpg

1 REPLY 1
amitchandak
Super User
Super User

@joaquinel , Looking at the joins, you should be able to analyze data together across common tables(Like Date)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.