<?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: Meassure with replace/substitue in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1401151#M25785</link>
    <description>&lt;P&gt;Hello Guys&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just to be clear. I want the output in a table to be like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, thanks! I dont know how to send you data example. Im sorry, but I hope you should be able to understand my issue now.&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>Tue, 29 Sep 2020 07:29:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-29T07:29:20Z</dc:date>
    <item>
      <title>Meassure with replace/substitue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1400380#M25764</link>
      <description>&lt;P&gt;Okay guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find out how to solve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in the picture&amp;nbsp;the measure&amp;nbsp;"Return Value" is the same measure&amp;nbsp;as above just with a minus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I take that meassure into a pivottable as a vakue and select column SO art and colmn Prognose as rows ; I want&amp;nbsp; column "SO art" ZP01 to be ZP00, but only for PrognoseID 9002970.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its important to do it in a measre and not a column, if possible. I tried to read about substitute but could not really make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to solve this? or next best would be in&amp;nbsp; a calculated column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the new measure to have the same value, but some values in one column based on another coulmns ID, need to be swtiched. (only for this meassure).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in the end when I out both values in a table with SO art og Prognose ID as rows we would see that prognose ID&amp;nbsp;9002970 has SO art ZP01 in first measure "value with original string" but ZP00 in measure "Return Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 21:12:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1400380#M25764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-28T21:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Meassure with replace/substitue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1400495#M25769</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Sorry, having trouble following, can you post sample data as text and expected output?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 00:15:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1400495#M25769</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-29T00:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Meassure with replace/substitue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1401151#M25785</link>
      <description>&lt;P&gt;Hello Guys&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just to be clear. I want the output in a table to be like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, thanks! I dont know how to send you data example. Im sorry, but I hope you should be able to understand my issue now.&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>Tue, 29 Sep 2020 07:29:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1401151#M25785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-29T07:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Meassure with replace/substitue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1401270#M25788</link>
      <description>&lt;P&gt;Hello again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to find out how to make a calculated column for the change of SO art.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i just want this formula into a measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(OR(Tabel1[PrognoseID]=9002970;Tabel1[PrognoseID]=9003090);SUBSTITUTE(Tabel1[SO art];"ZP01";"ZP0000");[SO art])&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:11:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Meassure-with-replace-substitue/m-p/1401270#M25788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-29T08:11:21Z</dc:date>
    </item>
  </channel>
</rss>

