<?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 to save a column value from salesforce report to a new column ???? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3250444#M119914</link>
    <description>&lt;P&gt;To accomplish this, you can use a formula in your local data source (CSV, Excel, etc.) to calculate the new value for cl_2 based on the value of cl_1, and then update the local copy of the data. Assuming you have a date column in your Salesforce report called "cl_1", and you want to create a new column called "cl_2" in your local data source with the formula: cl_2 = CASE WHEN cl_1 = '2022-01-01' THEN '2021-12-31' ELSE cl_1 END Then, in your Salesforce report, whenever you update the value of the "cl_1" field, the formula in your local data source will automatically recalculate and update the value of "cl_2" to reflect the change. You can also use the "WHEN" function in the formula to add more conditions, like if the value of "cl_1" is between '2022-01-01' and '2022-02-01', then the new value of cl_2 would be '2022-01-01'.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 08:13:41 GMT</pubDate>
    <dc:creator>Mrxiang</dc:creator>
    <dc:date>2023-05-24T08:13:41Z</dc:date>
    <item>
      <title>How to save a column value from salesforce report to a new column ????</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3247471#M119699</link>
      <description>&lt;P&gt;Hi fellows,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck. I am using salesforce report as a data source and I have a date column(say cl_1) which is coming from the salesforce report.&lt;/P&gt;&lt;P&gt;Now, I want to save this date(cl_1) locally in a new column(say cl_2) and it should be updated once the value in cl_1 changes. The update should save the old value of cl_1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 11:59:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3247471#M119699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-22T11:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to save a column value from salesforce report to a new column ????</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3250085#M119885</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to create a new column to get the&amp;nbsp;&lt;SPAN&gt;old value of cl_1 if it has refreshed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For this ,&amp;nbsp;Power BI, data refresh is to directly overwrite all data, and your old data cannot be retained.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want to keep the old data, then you can try to export your data to get the old data. Secondly, there is DAX append method, You need to make sure you get new data only,See if these blogs can help:&lt;BR /&gt;&lt;A href="https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-data-to-it-using-incremental-refresh/" target="_blank"&gt;Keep The Existing Data In Your Power BI Dataset And Add New Data To It Using Incremental Refresh - Chris Webb's BI Blog (crossjoin.co.uk)&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/" target="_blank"&gt;Incremental Load in Power BI using DAX UNION – The BIccountant&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 03:07:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3250085#M119885</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-05-24T03:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to save a column value from salesforce report to a new column ????</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3250444#M119914</link>
      <description>&lt;P&gt;To accomplish this, you can use a formula in your local data source (CSV, Excel, etc.) to calculate the new value for cl_2 based on the value of cl_1, and then update the local copy of the data. Assuming you have a date column in your Salesforce report called "cl_1", and you want to create a new column called "cl_2" in your local data source with the formula: cl_2 = CASE WHEN cl_1 = '2022-01-01' THEN '2021-12-31' ELSE cl_1 END Then, in your Salesforce report, whenever you update the value of the "cl_1" field, the formula in your local data source will automatically recalculate and update the value of "cl_2" to reflect the change. You can also use the "WHEN" function in the formula to add more conditions, like if the value of "cl_1" is between '2022-01-01' and '2022-02-01', then the new value of cl_2 would be '2022-01-01'.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 08:13:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-save-a-column-value-from-salesforce-report-to-a-new/m-p/3250444#M119914</guid>
      <dc:creator>Mrxiang</dc:creator>
      <dc:date>2023-05-24T08:13:41Z</dc:date>
    </item>
  </channel>
</rss>

