<?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 dax function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3192865#M115841</link>
    <description>&lt;P&gt;Hello, I need to write a formula in dax that will calculate a date from a list of dates from a table. The formulas are supposed to take into account the product id filter:&lt;BR /&gt;1. the first function is to calculate the maximum date, maximum -1, maximum -2 so that I can choose the appropriate string value&lt;BR /&gt;2. the second function is to return a specific value from the row with the calculated date and product id, e.g. quantity.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Sebastian&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 07:14:51 GMT</pubDate>
    <dc:creator>s_kula</dc:creator>
    <dc:date>2023-04-18T07:14:51Z</dc:date>
    <item>
      <title>dax function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3192865#M115841</link>
      <description>&lt;P&gt;Hello, I need to write a formula in dax that will calculate a date from a list of dates from a table. The formulas are supposed to take into account the product id filter:&lt;BR /&gt;1. the first function is to calculate the maximum date, maximum -1, maximum -2 so that I can choose the appropriate string value&lt;BR /&gt;2. the second function is to return a specific value from the row with the calculated date and product id, e.g. quantity.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 07:14:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3192865#M115841</guid>
      <dc:creator>s_kula</dc:creator>
      <dc:date>2023-04-18T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: dax function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3196945#M116097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="339640" data-lia-user-login="s_kula" class="lia-mention lia-mention-user"&gt;s_kula&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Very sorry, due to my unintelligence hope you can provide more information.&lt;/P&gt;
&lt;P&gt;Why are -1 and -2 both maximum?How many tables are there in the calculations?Could you please provide more details?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Rongtie&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 01:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3196945#M116097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-20T01:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: dax function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3197029#M116101</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.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;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 02:38:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3197029#M116101</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-20T02:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: dax function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3202913#M116510</link>
      <description>&lt;P&gt;I guess I failed to check I have a list of dates.&lt;BR /&gt;In this list, the maximum date is 24/04/2023.&lt;BR /&gt;However, I want to be able to calculate the next e.g.&lt;BR /&gt;22/04/2023 (max-1) and another 17/04/2023 (max-2), i.e. subsequent dates in a decreasing sequence. The function must include a filter for a specific product id.&lt;/P&gt;&lt;P&gt;At the same time, the result of this function is supposed to be a filter to find other values ​​from a table row.&lt;BR /&gt;e.g.&lt;BR /&gt;date 22/04.2023 for product id 25, is to be a filter to the sales quantity for a given date and product id.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:35:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-function/m-p/3202913#M116510</guid>
      <dc:creator>s_kula</dc:creator>
      <dc:date>2023-04-24T12:35:38Z</dc:date>
    </item>
  </channel>
</rss>

