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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Anonymous
Not applicable

Have Month column in matrix Visual Columns fields

Hi All,

Good Day!!

 

I have table with Process, Month & SLA status, need your help to bring the month column in Table visual Columns like

Table

ProcessMonthSLA status
AP8-AugMissed
AP9-SepMet
AP10-OctMissed
AR8-AugMissed
AR9-SepMet
AR10-OctMissed
GA8-AugMissed
GA9-SepMet
GA10-OctMissed

 

in Power Matrix Visual like below

ProcessAugSepOct
APMetMissedMet
ARMetMetMissed
GAMetMissedMet

 

Thanks in advance.

 

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous Could you please check your expected output...

 

Is it something like this you are looking for....

 

image.png

 

Please try this in "Power Query"...

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcgxQ0lGy0HUsTQfSvpnFxakpSrE6UHFL3eDUApB4aglC0NBA1z+5BE11EA5TgrCZEoTDFHdH7KaAxdFNAQtimBILAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Process = _t, Month = _t, #"SLA status" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Process", type text}, {"Month", type text}, {"SLA status", type text}}),
    #"Inserted Text After Delimiter" = Table.AddColumn(#"Changed Type", "Text After Delimiter", each Text.AfterDelimiter([Month], "-"), type text),
    #"Renamed Columns" = Table.RenameColumns(#"Inserted Text After Delimiter",{{"Text After Delimiter", "MonthNew"}}),
    #"Removed Columns" = Table.RemoveColumns(#"Renamed Columns",{"Month"}),
    #"Pivoted Column" = Table.Pivot(#"Removed Columns", List.Distinct(#"Removed Columns"[MonthNew]), "MonthNew", "SLA status")
in
    #"Pivoted Column"

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Create a calculated column.

MonthName = RIGHT(Table5[Month],3)

Insert a Matrix visual.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PattemManohar
Community Champion
Community Champion

@Anonymous Could you please check your expected output...

 

Is it something like this you are looking for....

 

image.png

 

Please try this in "Power Query"...

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcgxQ0lGy0HUsTQfSvpnFxakpSrE6UHFL3eDUApB4aglC0NBA1z+5BE11EA5TgrCZEoTDFHdH7KaAxdFNAQtimBILAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Process = _t, Month = _t, #"SLA status" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Process", type text}, {"Month", type text}, {"SLA status", type text}}),
    #"Inserted Text After Delimiter" = Table.AddColumn(#"Changed Type", "Text After Delimiter", each Text.AfterDelimiter([Month], "-"), type text),
    #"Renamed Columns" = Table.RenameColumns(#"Inserted Text After Delimiter",{{"Text After Delimiter", "MonthNew"}}),
    #"Removed Columns" = Table.RemoveColumns(#"Renamed Columns",{"Month"}),
    #"Pivoted Column" = Table.Pivot(#"Removed Columns", List.Distinct(#"Removed Columns"[MonthNew]), "MonthNew", "SLA status")
in
    #"Pivoted Column"

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.