<?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: Increment column year by 1 for each attribute in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4673489#M178983</link>
    <description>&lt;P&gt;Thank you. This did not solve my specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did mention that I needed the increment to start over at a certain point. I suppose this will help someone else who doesn't have my specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2025 20:37:31 GMT</pubDate>
    <dc:creator>FOXYBARK</dc:creator>
    <dc:date>2025-04-29T20:37:31Z</dc:date>
    <item>
      <title>Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4663949#M178618</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal: have an incremented [year] column that increments by 1 for each [Attribute = Y0].&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attempted to do this with an index column but not sure of the follow up DAX. I'm not really needing an index column anyway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My desired outcome. This will also start over per property name as well. I started with one property as my test. Any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Attribute&lt;/TD&gt;&lt;TD&gt;Increment Year Column&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;Y0&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;Y1&lt;/TD&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;Y2&lt;/TD&gt;&lt;TD&gt;2026&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;Y3&lt;/TD&gt;&lt;TD&gt;2027&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;TD&gt;Y0&lt;/TD&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;TD&gt;Y1&lt;/TD&gt;&lt;TD&gt;2026&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;TD&gt;Y2&lt;/TD&gt;&lt;TD&gt;2027&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;TD&gt;Y3&lt;/TD&gt;&lt;TD&gt;2028&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 22 Apr 2025 20:43:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4663949#M178618</guid>
      <dc:creator>FOXYBARK</dc:creator>
      <dc:date>2025-04-22T20:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4664003#M178620</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Increment Year = [Year] + INT(SUBSTITUTE([Attribute],"Y",""))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 22:13:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4664003#M178620</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-22T22:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4673489#M178983</link>
      <description>&lt;P&gt;Thank you. This did not solve my specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did mention that I needed the increment to start over at a certain point. I suppose this will help someone else who doesn't have my specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 20:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4673489#M178983</guid>
      <dc:creator>FOXYBARK</dc:creator>
      <dc:date>2025-04-29T20:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4673625#M178989</link>
      <description>&lt;P&gt;Please provide sample data &lt;STRONG&gt;that fully covers your issue&lt;/STRONG&gt;.&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 00:08:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4673625#M178989</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-30T00:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4677286#M179134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out in Microsoft Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; for the helpful response.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;As suggested by Ibendlin, Please provide some sample data, clearly explain the question you're trying to ask, and specify what outcome you expect.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Please continue using Microsoft community forum&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Pavan.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 09:59:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4677286#M179134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-02T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4680042#M179258</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "&lt;/SPAN&gt;&lt;STRONG&gt;Accept&amp;nbsp; as&amp;nbsp; Solution&lt;/STRONG&gt;&lt;SPAN&gt;" and give a '&lt;/SPAN&gt;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&lt;SPAN&gt;' so other members can easily find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavan.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 10:41:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4680042#M179258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-05T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4680666#M179280</link>
      <description>&lt;P&gt;Hi. As I stated before, I need an increment column that starts over by property and by attribute. See desired outcome below. Thanks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 15:31:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4680666#M179280</guid>
      <dc:creator>FOXYBARK</dc:creator>
      <dc:date>2025-05-05T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4683957#M179392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out in Microsoft Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You want a "New Column" that increments based on the numeric part of Attribute (Y0 = 1, Y1 = 2, etc.), restarting for each combination of Property and Year.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Please update the DAX like below;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;New Column =&lt;BR /&gt;VAR AttrNumber =&lt;BR /&gt;VALUE ( SUBSTITUTE ( [Attribute], "Y", "" ) )&lt;BR /&gt;RETURN&lt;BR /&gt;AttrNumber + 1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This will increment the column based on the numeric part of the Attribute (e.g., Y0 = 1), and since your data naturally groups by Property and Year, it will restart as expected.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Please continue using Microsoft Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If this post helped resolve your issue, kindly consider marking it as "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' to help others find it more easily.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Pavan&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 05:03:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4683957#M179392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-08T05:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Increment column year by 1 for each attribute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4689052#M179574</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, kindly "&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;ccept &amp;nbsp;as&amp;nbsp; Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and give it a '&lt;/SPAN&gt;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&lt;SPAN&gt;' so others can find it easily.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Pavan.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 11:04:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Increment-column-year-by-1-for-each-attribute/m-p/4689052#M179574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-12T11:04:08Z</dc:date>
    </item>
  </channel>
</rss>

