Forum Discussion

joshua1990's avatar
joshua1990
Icon for Post Prodigy rankPost Prodigy
3 years ago
Solved

Show available columns based on selection

Hi community! I have a simple data model with 3 tables: tblArticle Article Price Size A 50 40 B 60 50 This table shows me attributes for each article.   ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi joshua1990 - I would suggest using Power Query to modify the data model to achieve this result in a matrix:

    The key is create the following table which is combination of tables 2 and 3:

    note the "N/A" are added using the SELECTVALUE function.  This replaces blanks, but it would also replace Duplicates, so be careful with duplicated status.

     

    Also make sure that tblArticles includes all the Articles.

     

    Many thanks

    Daryl