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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Chris_Leiper
Frequent Visitor

Displaying Multiple dates in a Power Bi Matrix Visual

Hello, 

 

Was wondering whether anyone would be able to help. 

 

I am looking to use a matrix to show dates for meetings across the year. When there is one meeting date across a month using a date column works ideally. as shown below:

Chris_Leiper_0-1686664385415.png

The issue comes from if there are two dates in the same month. The data looks like this:

Chris_Leiper_1-1686664560412.png

Column 1 & 2 are standard date columns and the third column is a custom column showing the ideal information to be shown. 

 

is there any way of showing this data?

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @Chris_Leiper ,

 

If your dates are in different columns, I suggest you to UNPIVOT your table and then create a measure to show date.

vrzhoumsft_1-1686813581537.png

Unpivoit>

vrzhoumsft_0-1686813408757.png

Measure:

Combine = CONCATENATEX('Table','Table'[Value],"-")

Create a calculated table:

Calendar = ADDCOLUMNS(CALENDARAUTO(),"Year Month",YEAR([Date]) * 100 + MONTH([Date]),"Month Year",FORMAT([Date],"MMMM YYYY"))

Result is as below.

vrzhoumsft_2-1686813604520.png

Best Regards,
Rico Zhou

 

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

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @Chris_Leiper ,

 

If your dates are in different columns, I suggest you to UNPIVOT your table and then create a measure to show date.

vrzhoumsft_1-1686813581537.png

Unpivoit>

vrzhoumsft_0-1686813408757.png

Measure:

Combine = CONCATENATEX('Table','Table'[Value],"-")

Create a calculated table:

Calendar = ADDCOLUMNS(CALENDARAUTO(),"Year Month",YEAR([Date]) * 100 + MONTH([Date]),"Month Year",FORMAT([Date],"MMMM YYYY"))

Result is as below.

vrzhoumsft_2-1686813604520.png

Best Regards,
Rico Zhou

 

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

Thanks for the reply. @v-rzhou-msft 

 

Do you think it is possible to Format 22/06/2023-23/06/2023 to Thursday 22nd & Friday 23rd?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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