<?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: Merge Cells in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179575#M187993</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Unfortunately, &lt;STRONG&gt;Power BI does not have a native "Merge Cells" feature&lt;/STRONG&gt; like Excel. Power BI visuals (Table and Matrix) work very differently from spreadsheets — they are designed for dynamic data analysis rather than pixel-perfect formatting.&lt;/P&gt;&lt;H3&gt;What you &lt;STRONG&gt;can&lt;/STRONG&gt; do instead:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;For Row Grouping (most common request)&lt;/STRONG&gt; Put multiple fields in the &lt;STRONG&gt;Rows&lt;/STRONG&gt; section of the Matrix. Then go to &lt;STRONG&gt;Format your visual &amp;gt; Row headers&lt;/STRONG&gt; and:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Turn &lt;STRONG&gt;Off&lt;/STRONG&gt; "Stepped layout"&lt;/LI&gt;&lt;LI&gt;Turn &lt;STRONG&gt;On&lt;/STRONG&gt; "Repeat row headers" (if needed)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This gives a grouped look similar to merged cells.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Blank out repeated values using DAX&lt;/STRONG&gt; (very popular workaround) Create a measure like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dax&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Display Category = &lt;/SPAN&gt;
&lt;SPAN&gt;IF (&lt;/SPAN&gt;
&lt;SPAN&gt;    ISINSCOPE ( YourTable[SubCategory] ),&lt;/SPAN&gt;
&lt;SPAN&gt;    YourTable[SubCategory],&lt;/SPAN&gt;
&lt;SPAN&gt;    IF (&lt;/SPAN&gt;
&lt;SPAN&gt;        ISINSCOPE ( YourTable[Category] ),&lt;/SPAN&gt;
&lt;SPAN&gt;        YourTable[Category],&lt;/SPAN&gt;
&lt;SPAN&gt;        BLANK()&lt;/SPAN&gt;
&lt;SPAN&gt;    )&lt;/SPAN&gt;
&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Then use this measure in the visual instead of the original column. This creates a "merged" visual effect by hiding repeated parent values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;For Column Headers&lt;/STRONG&gt; There is currently &lt;STRONG&gt;no native way&lt;/STRONG&gt; to merge column headers like in Excel. You have to live with the standard hierarchical layout.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Fri, 08 May 2026 00:01:10 GMT</pubDate>
    <dc:creator>pcoley</dc:creator>
    <dc:date>2026-05-08T00:01:10Z</dc:date>
    <item>
      <title>Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179236#M187975</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;I am trying to merge the cells in Matrix visual like in excel but couldn't find an option. Can you help with options if available in power query editor or by DAX please.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 10:19:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179236#M187975</guid>
      <dc:creator>BSathya</dc:creator>
      <dc:date>2026-05-07T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179301#M187978</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share screenshot of how you want with the sample data&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 11:45:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179301#M187978</guid>
      <dc:creator>krishnakanth240</dc:creator>
      <dc:date>2026-05-07T11:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179303#M187979</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Merging the cell in Matrix or table visual is not possible has a definition that you turn on/off, however if you want to have the merge of the header columns that can be done using a hierarchy in the columns / rows that will show the values of the header or rows in a merge way.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 11:49:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179303#M187979</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2026-05-07T11:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179575#M187993</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Unfortunately, &lt;STRONG&gt;Power BI does not have a native "Merge Cells" feature&lt;/STRONG&gt; like Excel. Power BI visuals (Table and Matrix) work very differently from spreadsheets — they are designed for dynamic data analysis rather than pixel-perfect formatting.&lt;/P&gt;&lt;H3&gt;What you &lt;STRONG&gt;can&lt;/STRONG&gt; do instead:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;For Row Grouping (most common request)&lt;/STRONG&gt; Put multiple fields in the &lt;STRONG&gt;Rows&lt;/STRONG&gt; section of the Matrix. Then go to &lt;STRONG&gt;Format your visual &amp;gt; Row headers&lt;/STRONG&gt; and:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Turn &lt;STRONG&gt;Off&lt;/STRONG&gt; "Stepped layout"&lt;/LI&gt;&lt;LI&gt;Turn &lt;STRONG&gt;On&lt;/STRONG&gt; "Repeat row headers" (if needed)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This gives a grouped look similar to merged cells.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Blank out repeated values using DAX&lt;/STRONG&gt; (very popular workaround) Create a measure like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dax&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Display Category = &lt;/SPAN&gt;
&lt;SPAN&gt;IF (&lt;/SPAN&gt;
&lt;SPAN&gt;    ISINSCOPE ( YourTable[SubCategory] ),&lt;/SPAN&gt;
&lt;SPAN&gt;    YourTable[SubCategory],&lt;/SPAN&gt;
&lt;SPAN&gt;    IF (&lt;/SPAN&gt;
&lt;SPAN&gt;        ISINSCOPE ( YourTable[Category] ),&lt;/SPAN&gt;
&lt;SPAN&gt;        YourTable[Category],&lt;/SPAN&gt;
&lt;SPAN&gt;        BLANK()&lt;/SPAN&gt;
&lt;SPAN&gt;    )&lt;/SPAN&gt;
&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Then use this measure in the visual instead of the original column. This creates a "merged" visual effect by hiding repeated parent values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;For Column Headers&lt;/STRONG&gt; There is currently &lt;STRONG&gt;no native way&lt;/STRONG&gt; to merge column headers like in Excel. You have to live with the standard hierarchical layout.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 08 May 2026 00:01:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5179575#M187993</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2026-05-08T00:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5180013#M188019</link>
      <description>&lt;P&gt;Merging cells in a Matrix visual is not supported in Power BI.&amp;nbsp;The only visual in Power BI that supports true cell merging is the Paginated Report (RDL), which is purpose-built for pixel-perfect layouts including merged cells, grouped headers, and precise column spanning.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2026 19:26:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5180013#M188019</guid>
      <dc:creator>cengizhanarslan</dc:creator>
      <dc:date>2026-05-08T19:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5180562#M188028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp; &amp;nbsp;,&lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1292787" data-lia-user-login="cengizhanarslan" class="lia-mention lia-mention-user"&gt;cengizhanarslan&lt;/a&gt;&amp;nbsp; and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="14361" data-lia-user-login="MFelix" class="lia-mention lia-mention-user"&gt;MFelix&lt;/a&gt;&amp;nbsp;  , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&amp;nbsp;&lt;BR /&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2026 04:11:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5180562#M188028</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2026-05-11T04:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Cells in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5182360#M188060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588771" data-lia-user-login="BSathya" class="lia-mention lia-mention-user"&gt;BSathya&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 04:13:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Cells-in-Matrix/m-p/5182360#M188060</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2026-05-14T04:13:22Z</dc:date>
    </item>
  </channel>
</rss>

