<?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: Calculating Customer Age at the time of Transaction in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299096#M122967</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm looking to include a Calculated Column in my Sales table to specify the customers' age at the time of the transaction. Also, yes, I do have a Birthdate column in the Customer's table.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 04:21:39 GMT</pubDate>
    <dc:creator>homeshagarwal</dc:creator>
    <dc:date>2023-06-23T04:21:39Z</dc:date>
    <item>
      <title>Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299082#M122963</link>
      <description>&lt;P&gt;Hi all!&lt;BR /&gt;&lt;BR /&gt;Need help with a DAX code to create a calculation to find out the &lt;STRONG&gt;Customer's Age&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;at the date of the transaction&lt;/STRONG&gt; and not as per TODAY. The following is my data model:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My Customer Table and Sales Table are connected based on Customer ID and not on a Date Field.&lt;/P&gt;&lt;P&gt;Could you please help me out here?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 04:02:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299082#M122963</guid>
      <dc:creator>homeshagarwal</dc:creator>
      <dc:date>2023-06-23T04:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299092#M122965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="579490" data-lia-user-login="homeshagarwal" class="lia-mention lia-mention-user"&gt;homeshagarwal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;So are looking for a calculated column in the Sales table or a measure in report sliced by transaction? Do you have date of birth column for each customer or just the current age of the customer in years?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 04:18:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299092#M122965</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-23T04:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299096#M122967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm looking to include a Calculated Column in my Sales table to specify the customers' age at the time of the transaction. Also, yes, I do have a Birthdate column in the Customer's table.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 04:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299096#M122967</guid>
      <dc:creator>homeshagarwal</dc:creator>
      <dc:date>2023-06-23T04:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299106#M122968</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="579490" data-lia-user-login="homeshagarwal" class="lia-mention lia-mention-user"&gt;homeshagarwal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Customer Age =
DATEDIFF (
    RELATED ( 'Customer Lookup'[Date of Birth] ),
    'Sales by Store'[Transaction Date],
    YEAR
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Jun 2023 04:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299106#M122968</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-23T04:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299132#M122970</link>
      <description>&lt;P&gt;Age = DATEDIFF('Table'[Birthdate], 'Table'[Transaction Date],YEAR)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 05:12:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299132#M122970</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-06-23T05:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Customer Age at the time of Transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299168#M122974</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;!&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;BR /&gt;This was pretty straightforward. Do you know where I messed up?&lt;BR /&gt;For some reason, I was trying to add a new column in the&amp;nbsp;&lt;STRONG&gt;Customer's&amp;nbsp;&lt;/STRONG&gt;table with this formula earlier&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; so wasn't getting it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 05:59:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Customer-Age-at-the-time-of-Transaction/m-p/3299168#M122974</guid>
      <dc:creator>homeshagarwal</dc:creator>
      <dc:date>2023-06-23T05:59:04Z</dc:date>
    </item>
  </channel>
</rss>

