<?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: How can I make sure that the filters on DAX do not get lost after renaming? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015567#M158240</link>
    <description>&lt;P&gt;Trying to change the values of a column with DAX is not a best practice. Try to solve it just with a transformation with Power Query. The case you want to do I think is not possible, as you can not use the renamed variable as a filter.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 12:02:06 GMT</pubDate>
    <dc:creator>DataDazzler</dc:creator>
    <dc:date>2024-06-28T12:02:06Z</dc:date>
    <item>
      <title>How can I make sure that the filters on DAX do not get lost after renaming?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015498#M158230</link>
      <description>&lt;P&gt;Tell me please There is a column "Aggregate name" in this column there are different names of signals. I don't like these names and I want to rename them, for this I use the SUBSTITUTE command.&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;Name of the units= SUBSTITUTE([Unit name],"DB signal ","Signal 1")&lt;/P&gt;&lt;P&gt;Let's say that at some point in time I want to rename it from "Signal 1" to "Signal 2" After renaming, the filters will go wrong&lt;/P&gt;&lt;P&gt;How can I make sure that the filters on DAX do not get lost after renaming?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 11:30:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015498#M158230</guid>
      <dc:creator>82186</dc:creator>
      <dc:date>2024-06-28T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make sure that the filters on DAX do not get lost after renaming?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015567#M158240</link>
      <description>&lt;P&gt;Trying to change the values of a column with DAX is not a best practice. Try to solve it just with a transformation with Power Query. The case you want to do I think is not possible, as you can not use the renamed variable as a filter.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 12:02:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015567#M158240</guid>
      <dc:creator>DataDazzler</dc:creator>
      <dc:date>2024-06-28T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make sure that the filters on DAX do not get lost after renaming?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015589#M158242</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I &lt;/SPAN&gt;&lt;SPAN class=""&gt;tried&lt;/SPAN&gt;&lt;SPAN&gt; it&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;.. the &lt;/SPAN&gt;&lt;SPAN class=""&gt;result&lt;/SPAN&gt;&lt;SPAN&gt; is the &lt;/SPAN&gt;&lt;SPAN class=""&gt;same&lt;/SPAN&gt; &lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;.. &lt;/SPAN&gt;&lt;SPAN class=""&gt;after&lt;/SPAN&gt; &lt;SPAN class=""&gt;renaming&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;everything&lt;/SPAN&gt;&lt;SPAN&gt; gets &lt;/SPAN&gt;&lt;SPAN class=""&gt;lost&lt;/SPAN&gt; &lt;SPAN class=""&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; was &lt;/SPAN&gt;&lt;SPAN class=""&gt;told&lt;/SPAN&gt; &lt;SPAN class=""&gt;that&lt;/SPAN&gt;&lt;SPAN&gt; it is &lt;/SPAN&gt;&lt;SPAN class=""&gt;possible&lt;/SPAN&gt; &lt;SPAN class=""&gt;so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="767515" data-lia-user-login="DataDazzler" class="lia-mention lia-mention-user"&gt;DataDazzler&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Trying to change the values of a column with DAX is not a best practice. Try to solve it just with a transformation with Power Query. The case you want to do I think is not possible, as you can not use the renamed variable as a filter.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;But I'd like to see the code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 12:16:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4015589#M158242</guid>
      <dc:creator>82186</dc:creator>
      <dc:date>2024-06-28T12:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make sure that the filters on DAX do not get lost after renaming?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4017547#M158410</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="766643" data-lia-user-login="82186" class="lia-mention lia-mention-user"&gt;82186&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="767515" data-lia-user-login="DataDazzler" class="lia-mention lia-mention-user"&gt;DataDazzler&lt;/a&gt;&amp;nbsp;said, dynamically replacing text in text format is not possible, and the current version doesn't support this feature. Is what you were told before renaming column names/DAX names? Or you can wrap the New Signal name into Measure for each change later on.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Signal = "Signal 2"

Name of the units =
SUBSTITUTE ( [Unit name], "DB signal", [New Signal] )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify; text-justify: inter-ideograph;"&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Yang&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;If there is any post &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;Accept it as the solution&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365912356%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7IzyI2%2FMOAR%2FYCjWYSKCZL2VPmT4PsxuWBjdUdMWKzo%3D&amp;amp;reserved=0" data-auth="NotApplicable" target="_blank"&gt;How to get your questions answered quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;-- &lt;/SPAN&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365919045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=VeafzdwAsrpisD8s261%2FdyOwJ1aCtBXS3bPA6NODOHY%3D&amp;amp;reserved=0" data-auth="NotApplicable" target="_blank"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 02:40:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-make-sure-that-the-filters-on-DAX-do-not-get-lost/m-p/4017547#M158410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T02:40:45Z</dc:date>
    </item>
  </channel>
</rss>

