<?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: Dynamic measure method quit working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678825#M179207</link>
    <description>&lt;P&gt;Thank you so much!&amp;nbsp; That did the trick.&amp;nbsp; I had been wondering if the dynamic measure needed to include values from the L1_BUDGET_CATEGORY column too.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 May 2025 09:05:38 GMT</pubDate>
    <dc:creator>Curtiosity</dc:creator>
    <dc:date>2025-05-04T09:05:38Z</dc:date>
    <item>
      <title>Dynamic measure method quit working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678629#M179197</link>
      <description>&lt;P&gt;Someone else developed for me this method to show or not show columns (from the values section in a matrix) depending on if there was data or not for that column.&lt;/P&gt;&lt;P&gt;When I open the .pbix file they saved, it works fine. In trying to incorporate the same method in a different file where the semantic model has been updated, I couldn't get it to work. If I go back to the original file and remove the first field in the column section and put it right back, all the data disappears.&lt;/P&gt;&lt;P&gt;Possibly the .pbix file that works when I first open it was saved in a prior desktop version. However, it does the same thing in powerbi.com too.&lt;/P&gt;&lt;P&gt;I've hopefully included all relevant data in the attached image.&lt;/P&gt;&lt;P&gt;Any ideas of what is happening here, or some other method to achieve the same result of conditionally/dynamically displaying columns depending on if they have data in them or not?&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 03:09:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678629#M179197</guid>
      <dc:creator>Curtiosity</dc:creator>
      <dc:date>2025-05-04T03:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure method quit working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678701#M179200</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882506" data-lia-user-login="Curtiosity" class="lia-mention lia-mention-user"&gt;Curtiosity&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;1. expand the drop down highlighted in red and change it to columns&lt;/P&gt;
&lt;P&gt;2. Click on the downward arrow highlighted in green&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will solve the issue. Your measure was written in such a way that, it will only work if you expand both the columns in the column hierarchy or in other words only one value exist in the dynamic measures column, if it the columns hierachy is not expanded then that means you have multiple values in that column because of which the table is empty.&lt;/P&gt;
&lt;P&gt;hope it is clear to you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need a Power BI Consultation? Hire me on &lt;A href="https://bit.ly/4d3oy4s" target="_blank" rel="noopener"&gt;Upwork&lt;/A&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;Connect on &lt;A href="https://www.linkedin.com/in/tharun-kumar-ravikrindhi/" target="_blank" rel="noopener"&gt;LinkedIn&lt;/A&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;DIV class=""&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class=""&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="border-radius: 1px; padding: 10px; border: solid #cccccc 1px; background: #fafafa no-repeat right 10px center;"&gt;&lt;BR /&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG style="margin-right: 3px;"&gt;&lt;STRONG style="margin-right: 3px;"&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG style="margin-right: 3px;"&gt;&lt;STRONG style="margin-right: 3px;"&gt;If I helped you, click on the Thumbs Up to give Kudos.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;P style="padding: 0; margin: 5px 50px 0 0;"&gt;Proud to be a Super User!&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 04 May 2025 06:06:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678701#M179200</guid>
      <dc:creator>tharunkumarRTK</dc:creator>
      <dc:date>2025-05-04T06:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure method quit working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678825#M179207</link>
      <description>&lt;P&gt;Thank you so much!&amp;nbsp; That did the trick.&amp;nbsp; I had been wondering if the dynamic measure needed to include values from the L1_BUDGET_CATEGORY column too.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 09:05:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-measure-method-quit-working/m-p/4678825#M179207</guid>
      <dc:creator>Curtiosity</dc:creator>
      <dc:date>2025-05-04T09:05:38Z</dc:date>
    </item>
  </channel>
</rss>

