<?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 Fixed column width in matrix visualisation in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289150#M58316</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix with the setting "values to rows" activated.&lt;/P&gt;&lt;P&gt;Since the column headers originally are values from a data column, the column headers change when I change the active filter. So does the width of the columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to set a fixed column width? Nothing I have tried has worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Moa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 15:00:26 GMT</pubDate>
    <dc:creator>moaqvarnlof</dc:creator>
    <dc:date>2024-11-18T15:00:26Z</dc:date>
    <item>
      <title>Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289150#M58316</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix with the setting "values to rows" activated.&lt;/P&gt;&lt;P&gt;Since the column headers originally are values from a data column, the column headers change when I change the active filter. So does the width of the columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to set a fixed column width? Nothing I have tried has worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Moa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 15:00:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289150#M58316</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-18T15:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289368#M58321</link>
      <description>&lt;P&gt;Hi Moa,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you select your matrix, go to formatting and search for "auto", you will get this...&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="KNP_0-1731950418182.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201521i7EB538315EC988DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KNP_0-1731950418182.png" alt="KNP_0-1731950418182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turn that setting off and it won't resize anymore.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 17:20:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289368#M58321</guid>
      <dc:creator>KNP</dc:creator>
      <dc:date>2024-11-18T17:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289410#M58322</link>
      <description>&lt;P&gt;Thanks for you answer, but unfortunatly, that does not work. The column header content and its width still change when I filter the data..&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 17:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289410#M58322</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-18T17:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289446#M58323</link>
      <description>&lt;P&gt;I'm not sure I'm understanding your scenario fully.&lt;/P&gt;
&lt;P&gt;This is what I thought you meant...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzqsLrVH1tRQ%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FzqsLrVH1tRQ&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzqsLrVH1tRQ%2Fhq2.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="450" scrolling="no" title="Auto resize off" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289446#M58323</guid>
      <dc:creator>KNP</dc:creator>
      <dc:date>2024-11-18T18:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289458#M58324</link>
      <description>&lt;P&gt;Yes that's what I meant, but the problem is when something wider than "Music, Movies and Audio Books" takes place in the column. Then the column width increases to fit its content.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:28:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289458#M58324</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-18T18:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289479#M58326</link>
      <description>&lt;P&gt;There must be something different about your scenario, because if I resize to the smallest and turn the setting off, I can't get it to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FyngAtfb8hP0%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FyngAtfb8hP0&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FyngAtfb8hP0%2Fhq2.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="450" scrolling="no" title="Auto resize off - smallest" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289479#M58326</guid>
      <dc:creator>KNP</dc:creator>
      <dc:date>2024-11-18T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289502#M58327</link>
      <description>&lt;P&gt;In my scenario, I have "Color Reference" under Columns in the matrix-settings, with "Values to rows" activated. Then, I filter out the top 15 values based in their corresponding sales, from the color column.&amp;nbsp;This results in a matrix with 15 columns (black, red, pink, ..).&amp;nbsp; There are a lot of different colors in "Color Reference", so when I change the date filter to another month for example, other colors might be in the top 15 when sorted by sales, and thereby the column headers change. When this happens, the column widths change even though I turn off the auto-size width.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:26:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4289502#M58327</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-18T19:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4290279#M58333</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Thanks for the reply from KNP&amp;nbsp;, please allow me to provide another insight:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/851501"&gt;@moaqvarnlof&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;In my practical tests, prior to disabling the automatic width adjustment:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1731995552555.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201902iCD9279C38CD98ACB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1731995552555.png" alt="vlinyulumsft_0-1731995552555.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;The row width is influenced by the size of your values and the text size of the column headers.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1731995552556.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201903iC628DD17F4862BC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1731995552556.png" alt="vlinyulumsft_1-1731995552556.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="vlinyulumsft_2-1731995585395.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201904i5079C925D57A7E06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1731995585395.png" alt="vlinyulumsft_2-1731995585395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Once you disable this feature, the current column widths will be retained (please note that the widths of each column may not be consistent).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1731995585396.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201905i314E2AD54FE330FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1731995585396.png" alt="vlinyulumsft_3-1731995585396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;No matter how you adjust the font size or add filters, the widths will remain unaffected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_4-1731995601294.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201907i20632E5548D97CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_4-1731995601294.png" alt="vlinyulumsft_4-1731995601294.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="vlinyulumsft_5-1731995601296.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201906i9D4DF9ED4ACBB3DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_5-1731995601296.png" alt="vlinyulumsft_5-1731995601296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for why your widths may have changed, I suspect it could be a version issue. I recommend upgrading your version to see if this resolves the problem.&lt;/P&gt;
&lt;P&gt;Here is the download link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.microsoft.com/en-US/download/details.aspx?id=58494&amp;amp;msockid=13a7a20b9cc8662d3937b66898c8688c" target="_blank"&gt;Download Microsoft Power BI Desktop from Official Microsoft Download Center&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you wish for each column to maintain the same width, you might consider inserting a row (or column) in the visualisation as the longest column width.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_6-1731995615010.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201910iF6818ECFF0910334/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_6-1731995615010.png" alt="vlinyulumsft_6-1731995615010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Once you disable the automatic width adjustment, the sizes will remain fixed.&lt;/P&gt;
&lt;P&gt;1.This is the original width:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_7-1731995615011.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201909i645C8D6097DA10A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_7-1731995615011.png" alt="vlinyulumsft_7-1731995615011.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.After inserting the standard column and disabling the automatic width adjustment:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_8-1731995668622.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201914i86D681DB70CBFC82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_8-1731995668622.png" alt="vlinyulumsft_8-1731995668622.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;Replacing the value will not change the width either.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_9-1731995668622.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201913i4EA104F01AB52601/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_9-1731995668622.png" alt="vlinyulumsft_9-1731995668622.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;For questions about uploading data, you can try the following links:&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 6pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;&lt;SPAN&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 6pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-upload-PBI-in-Community/m-p/1672886" target="_blank"&gt;&lt;SPAN&gt;Solved: How to upload PBI in Community - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Of course, if you have any new discoveries or questions, please feel free to get in touch with us.&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution &lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 05:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4290279#M58333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-19T05:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4290627#M58341</link>
      <description>&lt;P&gt;Thanks a lot for your response and ideas!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the lastest Power BI Desktop version, so I don't think that's the issue..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem shows using your file aswell. Here, the column widths change if I instead choose the 3 colors with the lowest sales:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moaqvarnlof_0-1732003030851.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1202011iC6D6D5011BFC19D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moaqvarnlof_0-1732003030851.png" alt="moaqvarnlof_0-1732003030851.png" /&gt;&lt;/span&gt;&lt;BR /&gt;So if the content of the column header change, the width adapts to its new content.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 08:19:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4290627#M58341</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-19T08:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4291166#M58345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/851501"&gt;@moaqvarnlof&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To ensure consistent column widths dynamically in Power BI without manually adjusting them, you can use a DAX measure that pads the values or headers using the CONCATENATEX function. This method standardizes the length of the text displayed, which in turn helps Power BI render uniform column widths.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Start by creating a DAX measure that appends spaces to the values in your data. For example, you can write a measure like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PaddedValues = 
CONCATENATEX(
    VALUES('Table'[DataColumn]),
    'Table'[DataColumn] &amp;amp; REPT(" ", 20 - LEN('Table'[DataColumn]))
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This measure ensures that every value is padded to a fixed total length. Replace 20 with the desired length to suit your formatting requirements.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Next, if the column headers are also dynamic and causing the matrix to resize, create a similar calculated column for the headers:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PaddedHeaders = 
CONCATENATEX(
    VALUES('Table'[ColumnHeader]),
    'Table'[ColumnHeader] &amp;amp; REPT(" ", 10 - LEN('Table'[ColumnHeader]))
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This calculated column works in the same way by appending spaces to ensure a consistent header text length.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If you are using the padded values for row/column headers in a matrix: Use a calculated column, as measures can't be dropped into the headers section.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If you are using the padded values dynamically in the Values area or want them to adjust with slicers: Use a measure for flexibility.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Power BI will render the matrix with consistent column widths because the padded text ensures that the visual space required remains constant. This approach eliminates the need for manual adjustments and provides a dynamic solution for managing uniform column widths effectively.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 22:50:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4291166#M58345</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-11-19T22:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4291749#M58346</link>
      <description>&lt;P&gt;I think I understand now.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608865"&gt;@DataNinja777&lt;/a&gt;'s idea caused me to test some more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- If you create a simple measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;column_width = REPT("X", 40)&lt;/LI-CODE&gt;
&lt;P&gt;- Turn off any filtering to ensure all columns are showing.&lt;/P&gt;
&lt;P&gt;- Turn ON 'Auto-size width'&lt;/P&gt;
&lt;P&gt;- Drop measure into values.&lt;/P&gt;
&lt;P&gt;- Turn OFF 'Auto-size width'&lt;/P&gt;
&lt;P&gt;- Remove measure.&lt;/P&gt;
&lt;P&gt;- Filter to test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 18:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4291749#M58346</guid>
      <dc:creator>KNP</dc:creator>
      <dc:date>2024-11-19T18:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4295282#M58372</link>
      <description>&lt;P&gt;Thanks a lot for your answers!! Both &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608865"&gt;@DataNinja777&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/129725"&gt;@KNP&lt;/a&gt;! Those are clever solutions to get the width to always stay the same! The problem I still have is that the column width that I need in my matrix is smaller than the length of the column header content. When I manually adjust to the needed column width, the content is divided into 2-3 lines of text inside the column header. This solution would work though if I did not need to narrow each column width down from its original width.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:25:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4295282#M58372</guid>
      <dc:creator>moaqvarnlof</dc:creator>
      <dc:date>2024-11-21T12:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed column width in matrix visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4295779#M58380</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/851501"&gt;@moaqvarnlof&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a solution that I think may be workable.&lt;/P&gt;
&lt;P&gt;In power query (you could probably do this in DAX also as a calculated column), for the column you are using, you could replace spaces with a line feed #(lf) character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Table.ReplaceValue(fr1," ","#(lf)",Replacer.ReplaceText,{"CategoryName"})&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="KNP_0-1732211272295.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1203822i58887F7B34EA60CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="KNP_0-1732211272295.png" alt="KNP_0-1732211272295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result is...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KNP_1-1732211342920.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1203824iE20FF8ED4239D512/image-size/large?v=v2&amp;amp;px=999" role="button" title="KNP_1-1732211342920.png" alt="KNP_1-1732211342920.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could probably figure out a way to do every second or third word. I don't have time to do that at the moment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you can find a workable solution from this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:52:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixed-column-width-in-matrix-visualisation/m-p/4295779#M58380</guid>
      <dc:creator>KNP</dc:creator>
      <dc:date>2024-11-21T17:52:22Z</dc:date>
    </item>
  </channel>
</rss>

