Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Matrix with qualitative values by date

Hello!

 

I have a data base that has: date, farm and logistics operator.

I want to creat a matrix that shows me which logistic operator worked in a farm, on the days of the month.

BUT, in some days I have two different logistics operator working in that farm. AND, when I create a matrix, it only brings the first or the last value.

I want to creat a table that shows me all the logistic operator working in a specific farm, and the dates in the columns.

Do you know how to make it in the matrix on Power BI, or if I have to use another "chart/matrix/table"?

 

Sorry for bad english.

  • Hi Anonymous 

    You can use a measure as: 

    Measure =
    CONCATENATEX (
        DISTINCT ( Table1[Logistics operator] ),
        Table1[Logistics operator],
        ", "
    )
    

     This will show all the names separated by a ", "

    Please mark the question solved when done and consider giving kudos if posts are helpful.

     

     Cheers 

     

3 Replies

  • AlB's avatar
    AlB
    Community Champion

    Hi Anonymous 

    You can use a measure as: 

    Measure =
    CONCATENATEX (
        DISTINCT ( Table1[Logistics operator] ),
        Table1[Logistics operator],
        ", "
    )
    

     This will show all the names separated by a ", "

    Please mark the question solved when done and consider giving kudos if posts are helpful.

     

     Cheers 

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you so much, AlB !!

       

      I've created the measure as you suggest, than I unchecked format > column header > scale automatically to have it down.

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Adding image. In day 1, I had 2 TOVER and RAMPAZO in Santo Antônio, but the matrix does not show it.