<?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: DAX in a new column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884604#M186038</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would rename the new measure to the old measure name and also test it first in a duplicated file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By that you may replace the logic of Qtée stock Measure with the SWITCH logic, delete the temporary QTÉ (switch) measure and rename your updated Qtée stock Measure back to Qté Stock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 19:52:21 GMT</pubDate>
    <dc:creator>MasonMA</dc:creator>
    <dc:date>2025-11-24T19:52:21Z</dc:date>
    <item>
      <title>DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884046#M186024</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have added a new column to categorize my products. You can see my catecories (description_categorie). I have a categorie named "Total" (N=27 476) and "Total (frais)" N=11 425). My category "Total" should be 16 051 (27 425 - 11 425). How to get this result without changing the name of my column (Descrition_categorie) as I ha ve in many graphs I don't want to change them.&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;</description>
      <pubDate>Mon, 24 Nov 2025 12:13:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884046#M186024</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2025-11-24T12:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884067#M186025</link>
      <description>&lt;P&gt;You don’t need to rename your existing column; you can handle this with a DAX measure or a calculated column that adjusts the value for “Total” without changing the original category names.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 12:23:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884067#M186025</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2025-11-24T12:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884162#M186027</link>
      <description>&lt;P&gt;Could you help me to reach it ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 13:26:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884162#M186027</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2025-11-24T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884167#M186028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can i ask how you added this '&lt;SPAN&gt;new column to categorize products&lt;/SPAN&gt;'? If this was created by DAX or Power Query, i'd suggest maybe fixing the logic in that column so “Total” no longer includes “Total (frais)” items? This avoids needing an adjustment measure altogether.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 13:34:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884167#M186028</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-11-24T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884177#M186029</link>
      <description>&lt;P&gt;Yes, I click on transform Data and ADD A COLUMN&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Show in another way (I cut a long part as it's all the same programmation):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;= Table.AddColumn(#"Valeur remplacée", "Personnalisé", each if Text.Contains([description], "BLC-1500 LAVE-GLACE BIO") then "Antigel - produits chimiques" else if [description] = "URÉE" then "Urée" else if [description] = "UREE" then "Urée" else if Text.StartsWith([description], "TOTAL") then "Total" else if Text.StartsWith([description], "ATS") then "ATS" else if [description] = "HUILE A FORME ISO 55" then "Envirolub" else if Text.StartsWith([description], "ENVIROLIN") then "Envirolin" else if [description] = "FRAIS DE TRANSPORT LUBRIFIANTS" then "Total (frais)" else "À VOIR")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results concern amount, Profit and Volume&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:11:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884177#M186029</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2025-11-24T14:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884222#M186030</link>
      <description>&lt;P&gt;deleted..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:37:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884222#M186030</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-11-24T14:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884230#M186031</link>
      <description>&lt;P&gt;No, I need to calculate "Total" minus "Total (frais)" to get the real amount/profit/volume of "Total".&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:31:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884230#M186031</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2025-11-24T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884261#M186032</link>
      <description>&lt;P&gt;Hi, i thought you were looking to adjust your logic for the column. If only to calculate the Total minus&amp;nbsp;&lt;SPAN&gt;Total (frais). You will need to use Measures as&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403667" data-lia-user-login="123abc" class="lia-mention lia-mention-user"&gt;123abc&lt;/a&gt;&amp;nbsp;suggesed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create measures like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Amount := SUM('table'[Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Total =&lt;BR /&gt;CALCULATE([Amount], 'table'[Description_categorie] = "Total")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalFrais =&lt;BR /&gt;CALCULATE([Amount], 'table'[Description_categorie] = "Total (frais)")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure=&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SWITCH(&lt;BR /&gt;SELECTEDVALUE('table'[Description_categorie]),&lt;BR /&gt;"Total", Total&lt;BR /&gt;[Amount]&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:53:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884261#M186032</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-11-24T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884588#M186036</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I did this DAX programmation and it works! See below. The problem are: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1- I have to change aaaaallllll my graphics to use this new variable (QTÉ (switch)). How can I keep my usual variable included in my database (Qtée stock)? I have used this variable in multiple dax programmation and graphics as well, so it's complicated to check all of them without errors...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2- I will have to do the same for variable Profit and Amount.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So, how can I program : if "Qté Stock" is used, use "Qté (switch)" variable instead. Or rename Qté (switch) to Qté Stock would be easier, than I change nothing in my graphics and programmatiosn. Same for profit and Amount as well...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;QTÉ (switch) =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SG LUBRIFIANTS - 2019-2023 data corrigées'&lt;/SPAN&gt;&lt;SPAN&gt;[Description_catégorie]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Total"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Total - Total (frais) QTÉ]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Qtée stock Measure]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Nov 2025 19:18:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884588#M186036</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2025-11-24T19:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884599#M186037</link>
      <description>&lt;P&gt;sure&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 19:36:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884599#M186037</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2025-11-24T19:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884604#M186038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would rename the new measure to the old measure name and also test it first in a duplicated file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By that you may replace the logic of Qtée stock Measure with the SWITCH logic, delete the temporary QTÉ (switch) measure and rename your updated Qtée stock Measure back to Qté Stock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 19:52:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4884604#M186038</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-11-24T19:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in a new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4887647#M186105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="406022" data-lia-user-login="sportive92003" class="lia-mention lia-mention-user"&gt;sportive92003&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403667" data-lia-user-login="123abc" class="lia-mention lia-mention-user"&gt;123abc&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="903292" data-lia-user-login="MasonMA" class="lia-mention lia-mention-user"&gt;MasonMA&lt;/a&gt;&amp;nbsp;for the prompt response.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user's for the issue worked?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 11:54:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-a-new-column/m-p/4887647#M186105</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-11-27T11:54:21Z</dc:date>
    </item>
  </channel>
</rss>

