<?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: Min / Max Age Measure per Ref Number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3489442#M133556</link>
    <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue. &lt;BR /&gt;If you are unsure how to do that please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;If you want to get answers faster please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Oct 2023 00:13:54 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-10-22T00:13:54Z</dc:date>
    <item>
      <title>Min / Max Age Measure per Ref Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3486405#M133406</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted some advice, I need to work out the MIN/MAX age for each party group.&lt;/P&gt;&l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p;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Age&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;Results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried this but just gives me a max combined age of group I would need to able to filter of lead name or Ref.No so would need it to show&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1234&lt;/TD&gt;&lt;TD&gt;Joe Boggs&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;to show 35. I believe this would be better as a measure rather than a column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 20:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3486405#M133406</guid>
      <dc:creator>KayCon</dc:creator>
      <dc:date>2023-10-19T20:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Min / Max Age Measure per Ref Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3489442#M133556</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue. &lt;BR /&gt;If you are unsure how to do that please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;If you want to get answers faster please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 00:13:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3489442#M133556</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-10-22T00:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Min / Max Age Measure per Ref Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3491218#M133674</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497380" data-lia-user-login="KayCon" class="lia-mention lia-mention-user"&gt;KayCon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
Var _MIN=CALCULATE(MIN('Table'[Age]),ALLEXCEPT('Table','Table'[Ref No.]))
Var _MAX=CALCULATE(MAX('Table'[Age]),ALLEXCEPT('Table','Table'[Ref No.]))
Return
_MIN&amp;amp;"/"&amp;amp;_MAX&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;EM&gt;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 11:56:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Age-Measure-per-Ref-Number/m-p/3491218#M133674</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-10-23T11:56:03Z</dc:date>
    </item>
  </channel>
</rss>

