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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to make a connection between two transaction tables?

I have a problem with the connections in data model. I need to get information from two transaction tables which are from Microsoft Navision. The first table is “Item Ledger Entry” and it has the following columns: “Item No_”, “Entry Type”, “Document No_”. The second is “Value Entry” with  columns: “Document No_”, “Item Ledger Entry Type”, “Cost Amount (Actual)”. First We go to the table “Item Ledger Entry” and there we filter by “Entry Type” = 6 and “Item No_” and we get the “Document No_”. Then We have to filter the second table “Value Entry” by this “Document No_” and we filter by “Item Ledger Entry Type” = 5 and this way we have to get the information about SUM(Cost Amount (Actual)). How I construct the architecture of data model or is there any possible way to do this with DAX formula? If so could you explain how to proceed with the DAX formula here?

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , is Document No_ is unique in "Item Ledger Entry", if so you can join the two tables on that can filter both parameters using a slicer or can create a measure with filters.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
GilbertQ
Super User
Super User

Hi there

I would suggest importing this data in Power Query

Then apply your exact logic you have explained above in Power Query. This will allow you to merge the 2 tables together into a single table.

Once you have your single table you can then import it into your dataset?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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