Forum Discussion

Lars_Denmark's avatar
Lars_Denmark
Frequent Visitor
5 years ago
Solved

Create a filter on a table from another filtered table without relations

I have two tables without a relationship between them:

 

  1. Customer - contains items from the financial system with invoices, credit notes, payments and more.
  2. Orders - contains sales orders and credit notes from the sales order system

On two different pages in a Power BI file I have made a Matrix visualization with the debtor records (page 1) and in another visual I have a Matrix with sales orders (page 2). When I select an post with the type invoice or credit note on page 1, I would like to be able to make a filter that I can transfer to the second Matrix visualization with the orders on page 2 and here view the selcted order on page 1.

 

  Page 1                                                                                      Page 2

 

I would have liked to be able to use Drill Through from Customer table to Order table, but this is probably not possible when I have no relationship between the two tables.

 

I would therefore like to hear if anyone knows of a solution to this?

 

I have been thinking about whether it could be possible on page 2 to make a filtering of the Order table based on the active filter on the Customer table. This could be done by first finding out if the selected item on the Customer table on page 1 has a Type equal to Invoice or Credit Memo. If so, the current value in Doc.No without hyphens and letters must be used to insert as a filter on the Order table for the Order.No field. Then it must be possible to jump from page 1 to page 2 where rows with the current Order.No will be displayed in the Matrix for the Order Table.

 

5 Replies