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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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)

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.