Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Creating tables from a dataset

Hi Everyone! Below is my dataset. Month Session 12M 15M 18M Jan AM L1 L2 L2 Jan AM L1 L1 L1 Jan PM L2 L1 L1 Feb AM L1 L1 L1 Feb PM L1 L1 L1 Mar AM ...
  • shafiz_p's avatar
    1 year ago

    Hi Anonymous  First unpivot your table. See images below:
    Your provided data set:

    Open power query, select Month and Session column, Right click and select unpivot other columns. See image below:

    Here is the final table output:

    Close and load table, select matrix visual and populate data. Here is the desired output:

     

     

    Format according to your need.

    Hope this helps!!

    If this solved your problem, please accept it as a solution!!

     

     

    Best Regards,

    Shahariar Hafiz

  • Ritaf1983's avatar
    1 year ago

    Hi Anonymous 

    In the first step, in order to work with the table effectively, it’s recommended to perform an Unpivot in Power Query.
    This will turn it into a vertical table, making it more flexible for analysis.

    Then after closing and apply you can create the matrix :

    The pbix is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly