Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Create a matrix using columns with different tables

Hi 

I am new in creating matrix. Stuck with this. Please give me some suggestion to do it so that I can implement it in my work. Thanks in Advance. Your suggestions will be helpful.

I have 2 tables, as shown in Fig below
Table1Table1

 

Table2Table2

 
I need to create a table or matrix as shown in below Image.
matrixmatrix

 


If you get me some examples or tips would be great. Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Join both date with a date or month dimension and take the month from there. And then put the matrix. In matrix table, there is an option under format. "Show on row" This will move you measure to row. On column put Month.

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Join both date with a date or month dimension and take the month from there. And then put the matrix. In matrix table, there is an option under format. "Show on row" This will move you measure to row. On column put Month.

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Anonymous
Not applicable

Hi @amitchandak ,

Sorry, I am again stuck with adding YTD columns in the matrix. If you can please help me on this that would be great.

In the previous message I have not added date for 2018. But how can we add the YTD2018 and YTD2019 for all the 3 quantities ?
ytd.JPG

 

Anonymous
Not applicable

Thanks @amitchandak , This helped me . You are cool 👍

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.