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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
matty_c
Regular Visitor

Use multiple date columns to create matrix

Hi PBI Experts,

 

In my dataset, I have 2 columns "Overdue" date and "Scheduled date". I want to create a matrix that has the header for the date, then splits into 2 columns to show a count of all the rows that are scheduled or overdue on that date. i.e. each row may be counted twice if it has both a scheduled date and an overdue date.

 

This will also then be split into categories based on another column in the dataset.

I can put all the scheduled dates into a matrix OR all the overdue dates into a matrix, but I can't figure out how to do both into the same matrix. Mainly because there are 2 date columns and they can both have different data.

 

eg:

matty_c_0-1615177660558.png

 

Thanks in advanced.

 

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @matty_c 

 

According to your description, you can create a measure to get the result. But my question is, if you put dates in the columns of the matrix, there will be many columns. The date columns are generally not a small number. Are you sure this is feasible? Does each category correspond to many schedule dates or overdue dates? 'Schedule' or 'Overdue' under each date in the matrix is not the same row of data in the original table. Are you sure that this is logical?

Please add some information, such as the row and column types in the original table, and more specific logic.So we can help you soon.

 

Best Regards

Janey Guo

 

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

amitchandak
Super User
Super User

@matty_c , You have to join them with one date table, One join will be inactive. That you have to activate using userelationship

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.