<?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 create a column with incremented values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2064792#M46645</link>
    <description>&lt;P&gt;No, this doesn't work, I don't understand what number returns but it is definitely wrong&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 16:18:09 GMT</pubDate>
    <dc:creator>fabiomanniti</dc:creator>
    <dc:date>2021-09-08T16:18:09Z</dc:date>
    <item>
      <title>How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2062275#M46556</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table called WorkersSalary and a field called salary and another field called name.&lt;/P&gt;&lt;P&gt;I want to plot another field wich is Salary incremented = salary x 0.8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Salary&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Salary incremented&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John Smith&lt;/TD&gt;&lt;TD&gt;25000&lt;/TD&gt;&lt;TD&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Joe Black&lt;/TD&gt;&lt;TD&gt;31000&lt;/TD&gt;&lt;TD&gt;24800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mark Johnson&lt;/TD&gt;&lt;TD&gt;26000&lt;/TD&gt;&lt;TD&gt;20800&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add a measure calling it salary_incremented = 'WorkersSalary'[salary]*0.8&lt;/P&gt;&lt;P&gt;but it returns an error&lt;/P&gt;&lt;P&gt;Could you please help me? Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:24:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2062275#M46556</guid>
      <dc:creator>fabiomanniti</dc:creator>
      <dc:date>2021-09-07T16:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2062619#M46570</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you cannot use the column directly. Try:&lt;BR /&gt;Slary_incremented = SUM('WorkersSalary'[salary]) * 0.8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 20:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2062619#M46570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-07T20:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2064792#M46645</link>
      <description>&lt;P&gt;No, this doesn't work, I don't understand what number returns but it is definitely wrong&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 16:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2064792#M46645</guid>
      <dc:creator>fabiomanniti</dc:creator>
      <dc:date>2021-09-08T16:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2065041#M46657</link>
      <description>&lt;P&gt;I tried it with your table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Salary&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John Smith&lt;/TD&gt;&lt;TD&gt;25000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Joe Black&lt;/TD&gt;&lt;TD&gt;31000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mark Johnson&lt;/TD&gt;&lt;TD&gt;26000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&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;Make sure that your Data Type of the Salary column is not set to text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 19:29:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2065041#M46657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-08T19:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2066796#M46706</link>
      <description>&lt;P&gt;It is not set to text but, for what I see it is a Sum.&lt;BR /&gt;&lt;BR /&gt;I am having the same problem with another data.&lt;/P&gt;&lt;P&gt;I have a field "rent_days" which is the number of days a machine is rented. I must convert this number into years so I'm doing&lt;/P&gt;&lt;P&gt;rent_years = sum('Table'[rent_days])/365&lt;/P&gt;&lt;P&gt;but the output numbers aren't reasonable.&lt;/P&gt;&lt;P&gt;What I'm seing is the rent_days is grouped as a sum.&lt;/P&gt;&lt;P&gt;I don't really know how to change it.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:19:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2066796#M46706</guid>
      <dc:creator>fabiomanniti</dc:creator>
      <dc:date>2021-09-09T13:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2067477#M46742</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can change that in the table view. Select the column with the sum-icon in front and change it above to Do not summarize. See below:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark the post please as solution if this does the trick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 18:55:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2067477#M46742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-09T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with incremented values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2068530#M46774</link>
      <description>&lt;P&gt;No, I can't because the option is greyed out. I believe it is because I'm not the one who created the table but I used a dataset someone else imported. I don't know.&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>Fri, 10 Sep 2021 09:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-column-with-incremented-values/m-p/2068530#M46774</guid>
      <dc:creator>fabiomanniti</dc:creator>
      <dc:date>2021-09-10T09:34:16Z</dc:date>
    </item>
  </channel>
</rss>

