Forum Discussion
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:
The issue comes from if there are two dates in the same month. The data looks like this:
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?
- Anonymous3 years ago
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.
Unpivoit>
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.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- AnonymousNot applicable
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.
Unpivoit>
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.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Chris_LeiperFrequent Visitor
Thanks for the reply. Anonymous
Do you think it is possible to Format 22/06/2023-23/06/2023 to Thursday 22nd & Friday 23rd?