cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EashwarBalaji
Helper II
Helper II

Display multiple values in matrix

Hi,

I have a matrix with the categories on rows (blacked out in the below image for security reasons) and the week of the year number (1..52) on the columns, with some dates in the values.

 

EashwarBalaji_0-1685102042961.png

But powerBI automatically restricts the values to take the earliest date in each week, and the only other options I have are latest date or simply count of dates in each week, as part of the summarization:

EashwarBalaji_1-1685102227055.png


But I want to display all the dates in the week (there 2/3 dates in each week that needs to come through as values).
Is this possible to do?

Thanks in advance!

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@EashwarBalaji , You can not do that in case of matrix visual

 

Max you can do that you create a measure

 

concatenatex(Table, Table[Date], " , ")



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

Yes. You can either use double quotes with a carriage return in between, or just use CHAR(10) in place of ",".

 

Pat

Microsoft Employee

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@EashwarBalaji , You can not do that in case of matrix visual

 

Max you can do that you create a measure

 

concatenatex(Table, Table[Date], " , ")



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

@amitchandak Thanks for your response.

That's unfortunate that this is not possible in PowerBI. But the work around you suggested does work.
Is there a way to use a "new line" (Similar to \n) as a delimiter in PowerBI instead of ","?

Yes. You can either use double quotes with a carriage return in between, or just use CHAR(10) in place of ",".

 

Pat

Microsoft Employee

Thanks @ppm1 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors