<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: custom matrix visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/custom-matrix-visual/m-p/2434666#M35311</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(&lt;STRONG&gt;see attachment&lt;/STRONG&gt;) for you, please check whether that is what you want. You can create a matrix visual with the same fields setting as the below screenshot and toggle off the option "Stepped out" under Row headers tab in &lt;STRONG&gt;Format&lt;/STRONG&gt; pane...Please check&amp;nbsp;&lt;STRONG&gt;the attachment&lt;/STRONG&gt; for more details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_1-1649055443679.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694098iA52F858B63263588/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_1-1649055443679.png" alt="yingyinr_1-1649055443679.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toggle off the option &amp;quot;Stepped out&amp;quot;" style="width: 178px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694102iFC152F0784FF6471/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_4-1649055841760.png" alt="Toggle off the option &amp;quot;Stepped out&amp;quot;" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Toggle off the option "Stepped out"&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is another method mentioned in the attachment, please check whether it suits your scenario.&lt;BR /&gt;1. Added an index column group by Line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("dcxJCoAwEATAv+QcMBmzeXSJ+3qW/P8btohCwFy6hyno82RlVTPOZCYzEkQ4y0pSfr8EC/zHG6+0QVPs9Po4IXQC5wVhHmx8Gy+3nTYWnSe8H1wh0Cr2b3zdEDaB+4FwwHAB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Line = _t, Date = _t, Product = _t, Qty = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Line", type text}, {"Date", type date}, {"Product", type text}, {"Qty", Int64.Type}}),
    #"Grouped Rows" = Table.Group(#"Changed Type", {"Line"}, {{"Index", each Table.AddIndexColumn(_, "Index",1,1), type table}}),
    #"Expanded Index" = Table.ExpandTableColumn(#"Grouped Rows", "Index", {"Date", "Product", "Qty", "Index"}, {"Date", "Product", "Qty", "Index"}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Expanded Index",{{"Qty", Int64.Type}, {"Index", Int64.Type}, {"Product", type text}, {"Date", type date}})
in
    #"Changed Type1"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_3-1649055704979.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694100iEAD8DC5759DA0F18/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_3-1649055704979.png" alt="yingyinr_3-1649055704979.png" /&gt;&lt;/span&gt;2. Create matrix visual as below screenshot&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_2-1649055671156.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694099iD8A10BF98802C204/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_2-1649055671156.png" alt="yingyinr_2-1649055671156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some sample data (&lt;EM&gt;&lt;STRONG&gt;exclude sensitive data&lt;/STRONG&gt;&lt;/EM&gt;)&amp;nbsp;and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7Cbff946a7f59443a8858808da1216a425%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637842185860907758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=WLh1nNkt4Tq8sL2yOpDP89k6vzvC6Pr7bd8r6eFvEuU%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 07:05:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-04T07:05:50Z</dc:date>
    <item>
      <title>custom matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-matrix-visual/m-p/2432716#M35292</link>
      <description>&lt;P&gt;i have a requirement to build following visual. anyone knows how to achieve this, basically we have multiple product lines on values with different products. when i try to use product on values, it pull first or last, how can i make this work, we have so many products so can't really show all on different lines. any options?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aneelismaily82_0-1648834945817.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/693606i900BB4DC19438F8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aneelismaily82_0-1648834945817.png" alt="aneelismaily82_0-1648834945817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 17:43:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-matrix-visual/m-p/2432716#M35292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-01T17:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: custom matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-matrix-visual/m-p/2434666#M35311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(&lt;STRONG&gt;see attachment&lt;/STRONG&gt;) for you, please check whether that is what you want. You can create a matrix visual with the same fields setting as the below screenshot and toggle off the option "Stepped out" under Row headers tab in &lt;STRONG&gt;Format&lt;/STRONG&gt; pane...Please check&amp;nbsp;&lt;STRONG&gt;the attachment&lt;/STRONG&gt; for more details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_1-1649055443679.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694098iA52F858B63263588/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_1-1649055443679.png" alt="yingyinr_1-1649055443679.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toggle off the option &amp;quot;Stepped out&amp;quot;" style="width: 178px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694102iFC152F0784FF6471/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_4-1649055841760.png" alt="Toggle off the option &amp;quot;Stepped out&amp;quot;" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Toggle off the option "Stepped out"&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is another method mentioned in the attachment, please check whether it suits your scenario.&lt;BR /&gt;1. Added an index column group by Line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("dcxJCoAwEATAv+QcMBmzeXSJ+3qW/P8btohCwFy6hyno82RlVTPOZCYzEkQ4y0pSfr8EC/zHG6+0QVPs9Po4IXQC5wVhHmx8Gy+3nTYWnSe8H1wh0Cr2b3zdEDaB+4FwwHAB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Line = _t, Date = _t, Product = _t, Qty = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Line", type text}, {"Date", type date}, {"Product", type text}, {"Qty", Int64.Type}}),
    #"Grouped Rows" = Table.Group(#"Changed Type", {"Line"}, {{"Index", each Table.AddIndexColumn(_, "Index",1,1), type table}}),
    #"Expanded Index" = Table.ExpandTableColumn(#"Grouped Rows", "Index", {"Date", "Product", "Qty", "Index"}, {"Date", "Product", "Qty", "Index"}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Expanded Index",{{"Qty", Int64.Type}, {"Index", Int64.Type}, {"Product", type text}, {"Date", type date}})
in
    #"Changed Type1"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_3-1649055704979.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694100iEAD8DC5759DA0F18/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_3-1649055704979.png" alt="yingyinr_3-1649055704979.png" /&gt;&lt;/span&gt;2. Create matrix visual as below screenshot&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_2-1649055671156.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/694099iD8A10BF98802C204/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_2-1649055671156.png" alt="yingyinr_2-1649055671156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some sample data (&lt;EM&gt;&lt;STRONG&gt;exclude sensitive data&lt;/STRONG&gt;&lt;/EM&gt;)&amp;nbsp;and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7Cbff946a7f59443a8858808da1216a425%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637842185860907758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=WLh1nNkt4Tq8sL2yOpDP89k6vzvC6Pr7bd8r6eFvEuU%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 07:05:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-matrix-visual/m-p/2434666#M35311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-04T07:05:50Z</dc:date>
    </item>
  </channel>
</rss>

