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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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