Forum Discussion

koorosh's avatar
koorosh
Icon for Post Partisan rankPost Partisan
2 years ago
Solved

Monthly report based on user's activities

Hello All, I have the following table for users for each month:

What is the optimum approach to get the following table for creating visual charts ?

Should I append all tables to each other? Should I make the relation between each table and the date table? Should I create many date tables to make a relation with each date type column in the tables?

  • The column name is based on the sample data you provided:

    Check whether your actual data has this column or it might have been renamed.  M is case sensitive - users <> Users. It is important when posting a sample data that you use the actual column names that will be in your data source. Replace "users" in the code with the correct column name.

     

    The dates table was created in DAX.  You can just use your own calendar  - either import or generated using M but you'll need to rebuild the relationships and point the measures to the correct table/columns.

     

     

     

7 Replies