Forum Discussion

nex's avatar
nex
Regular Visitor
6 years ago
Solved

Creating a dynamic matrix with same row and column names and calculated field values

Hi,    I've got a table with item information. Each item has one row.   I want to create a matrix where the rows are still the items, and the columns are the items as well. The columns need to be...
  • mahoneypat's avatar
    6 years ago

    To do this, you are likely going to need to make a second table that has your items column.  You will use the one from first table in rows or columns and the new one in the other.  This approach is explained on SQLBI as "Basket Analysis".  Please see this pattern explained there.  Note this is an older article from a time when the relationship filter arrows went the opposite direction.

     

    https://www.daxpatterns.com/basket-analysis/

     

    If this works for you, please mark it as solution.  Kudos are appreciated too.  Please let me know if not.

    Regards,

    Pat