<?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: MAX Value on multiple dimensions and dynamic date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1231891#M20117</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, I hear what you are saying. Guess my weekend is going to be studying DAX statements and testing out the different formulas in a simple version of my report. Thanks for the warning though.&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2020 19:27:26 GMT</pubDate>
    <dc:creator>vincenzio</dc:creator>
    <dc:date>2020-07-17T19:27:26Z</dc:date>
    <item>
      <title>MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216860#M19671</link>
      <description>&lt;P&gt;Hi DAX Gurus,&lt;BR /&gt;I'm doing my first steps in PowerBI, which goes very easy except for one small problem that I can not figure out:&lt;BR /&gt;Working with data set that looks as follows:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;REPORT DATE&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;MEMBER&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;PRODUCT&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;RN&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;VALUE&lt;/P&gt;&lt;/TD&gt;&l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;TD&gt;&lt;P&gt;33&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;01/03/2018&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;DD&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;66&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;01/07/2018&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;DD&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;12&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;26/08/2018&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;DD&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;44&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All fields are coming from a database. What I'm trying to accomplish, is filter the results of the table&amp;nbsp; in a way it only sows the record with the max row number for each combination of MEMBER + PRODUCT + REPORT DATE (closest&amp;nbsp; but equal or smaller than the selected date).&lt;BR /&gt;For example, if I filter on date March the 4th (04/03/2018) I should see&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;REPORT D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lt;P&gt;DD&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;66&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have an additional date table available in my model.&lt;BR /&gt;Any suggestions are much apricated&lt;BR /&gt;Regards,&lt;BR /&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:24:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216860#M19671</guid>
      <dc:creator>vincenzio</dc:creator>
      <dc:date>2020-07-12T21:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216864#M19672</link>
      <description>&lt;P&gt;DAX has no concept of row numbers.&amp;nbsp; You need to be more specific on what your sort criteriae are.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:27:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216864#M19672</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-12T21:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216873#M19673</link>
      <description>&lt;P&gt;Apologies, I just see that the field I'm revering to as "row number" is called RN in my example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The &lt;STRIKE&gt;row number&lt;/STRIKE&gt;&amp;nbsp; RN is a field that exist in the source data. It's counting the transactions for each combination of MEMBER + PRODUCT based on REPORT DATE.&lt;BR /&gt;All fields in the example table exists in the source data&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216873#M19673</guid>
      <dc:creator>vincenzio</dc:creator>
      <dc:date>2020-07-12T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216879#M19674</link>
      <description>&lt;P&gt;This is not a small problem at all. What you are looking for as a return value is a table, not a scalar.&amp;nbsp; How do you expect to display the results?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:54:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1216879#M19674</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-12T21:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1217498#M19682</link>
      <description>&lt;P&gt;Hi Ibendlin,&lt;BR /&gt;I would like to display the results as :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;REPORT DATE&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;MEMBER&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;PRODUCT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lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Or in a graph with the same values.&amp;nbsp; Essentially, it’s the &lt;SPAN&gt;last&lt;/SPAN&gt; record with the last date for each "MEMBER + PRODUCT"&amp;nbsp;, where the date &amp;lt;= selected &amp;nbsp;date in a filter.&lt;/P&gt;&lt;P&gt;Not sure if leaving out the row number makes it more easy. When it can be solved by only using the date, it’s also fine.&lt;BR /&gt;Regards,&lt;BR /&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 07:01:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1217498#M19682</guid>
      <dc:creator>vincenzio</dc:creator>
      <dc:date>2020-07-13T07:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1218362#M19719</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[EDIT 2020-07-13 13:55 UK time]

// Assumption:
// You have a calendar table with all the dates
// you need. This table MUST be disconnected.
// Then you create a measure that will, for each row
// in the table you've presented, return 1 if the
// row qualifies according to your requirement, and 0/Blank
// if not. Once you have this measure, you can drop
// the fields from the table into a table/matrix visual
// and filter the rows in the Filter pane via the measure.
// When it's value is 1, show the row. Hide otherwise.
// Also, we are assuming that each combination of (Member, Product, RN)
// cannot have more than one Report Date assigned.

// Here's the measure:

Filtering Measure = 
var __shouldCalc =
    HASONEFILTER( T[Report Date] )
	&amp;amp;&amp;amp; HASONEFILTER( T[Member] )
	&amp;amp;&amp;amp; HASONEFILTER( T[Product] )
	&amp;amp;&amp;amp; HASONEFILTER( T[RN] )
var __result =
    IF( __shouldCalc,
        
        var __selectedDate = SELECTEDVALUE( 'Calendar'[Date] )
        var __currentRN = SELECTEDVALUE( T[RN] )
        var __currentMember = SELECTEDVALUE( T[MEMBER] )
        var __currentProduct = SELECTEDVALUE( T[PRODUCT] )
        // For each combination of (Member, Product, Report Date)
        // we have to find out if the combination is what we're
        // looking for.
        var __shouldRetain =
            CALCULATE(
            
                MAXX(
                    // This one picks up the row from the
                    // table with the latest date, respecting
                    // all the filters under CALCULATE. MAXX
                    // picks up the one and only value of RN
                    // that qualifies for our condition.
                    TOPN(
                        1,
                        T,
                        T[Report Date],
                        DESC
                    ),
                    T[RN]
                // The "=" condition returns true if the current
                // RN is equal to the one that we pick up among
                // the RN's for the same Member and Product. If
                // it's equal, then we know we're on the row
                // that should be returned.
                ) = __currentRN,
                
                // This makes sure that we're only looking at
                // rows in the table that have Report Date
                // before or on the selected date.
                KEEPFILTERS( T[Report Date] &amp;lt;= __selectedDate ), 
                // This one makes sure that for each row in the visual
                // we're only looking at the rows that have the same
                // Member and Product as the current row.
                ALLEXCEPT( T, T[Member], T[Product] ),
                // Filter only the dates that are visible for the
                // current Member and Product.
                CALCULATETABLE(
                    VALUES( T[REPORT DATE] ),
                    FILTER(
                        ALLSELECTED( T ),
                        T[MEMBER] = __currentMember
                        &amp;amp;&amp;amp;
                        T[PRODUCT] = __currentProduct
                    )
                )
            )
        return
            __shouldRetain
            
    )
return
    1 * __result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 13:00:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1218362#M19719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-13T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1225633#M19950</link>
      <description>&lt;P&gt;Hi daxer,&lt;BR /&gt;That worked!&amp;nbsp; The only thing I ended up doing was taking out the :&lt;/P&gt;&lt;PRE&gt;IF( __shouldCalc,&lt;/PRE&gt;&lt;P&gt;part. (And the closing bracket.) Thanks for this. It's a great starting point for my other formuals too.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 18:24:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1225633#M19950</guid>
      <dc:creator>vincenzio</dc:creator>
      <dc:date>2020-07-15T18:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1227435#M19979</link>
      <description>&lt;P&gt;Happy that it worked. However, since you removed the guarding condition and I wrote the code under the assumption that the condition is TRUE, please be very careful and test your measures based on the stripped down formula thoroughly. Experience has taught me that if you use ALLEXCEPT in a CALCULATE formula as a top-level filter, you HAVE to make sure that the context in which it works is the correct one. Having removed the guarding condition you are in muddy waters now... So, be sure to TEST THROUGHLY.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 08:49:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1227435#M19979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-16T08:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Value on multiple dimensions and dynamic date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1231891#M20117</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, I hear what you are saying. Guess my weekend is going to be studying DAX statements and testing out the different formulas in a simple version of my report. Thanks for the warning though.&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:27:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Value-on-multiple-dimensions-and-dynamic-date/m-p/1231891#M20117</guid>
      <dc:creator>vincenzio</dc:creator>
      <dc:date>2020-07-17T19:27:26Z</dc:date>
    </item>
  </channel>
</rss>

