<?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: Help with dax! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261562#M120632</link>
    <description>&lt;P&gt;What when Select all is also there in the slicer! That time its not working!&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;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 10:00:08 GMT</pubDate>
    <dc:creator>Angads</dc:creator>
    <dc:date>2023-05-31T10:00:08Z</dc:date>
    <item>
      <title>Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261378#M120611</link>
      <description>&lt;P&gt;I want if select all is selected in date slicer it should show total sales for all dates, if no date selected it should show last date sales in date column and id any specific date selected it should show sales for that date.&lt;BR /&gt;There is no string "select all" in date column. And we can't compare date with string.&lt;BR /&gt;these are limitations please give proper result..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Values on selection = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Values]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Values]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))))&lt;BR /&gt;&lt;BR /&gt;with the above formula I am able to achieve&amp;nbsp;&lt;STRONG&gt; if no date selected it should show last date sales in date column and id any specific date selected it should show sales for that date.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Any help will be great.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 May 2023 08:58:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261378#M120611</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261406#M120614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568803" data-lia-user-login="Angads" class="lia-mention lia-mention-user"&gt;Angads&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Values on selection =
SUMX ( TOPN ( 1, Sheet1, Sheet1[Date] ), Sheet1[Value] )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 May 2023 09:08:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261406#M120614</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-31T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261417#M120615</link>
      <description>&lt;P&gt;Its giving me sales for selected date only. I am not getting answer for multiple dates select with above formuale also I want total sales when I select "select all" option in slicer.&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;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261417#M120615</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T09:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261438#M120618</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568803" data-lia-user-login="Angads" class="lia-mention lia-mention-user"&gt;Angads&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Better to present a sample with the expected results as this new explanation does not match with the first one. If I follow your new explanation literally&amp;nbsp;then just use SUM ( Sheet1[Value] )&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:20:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261438#M120618</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-31T09:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261459#M120621</link>
      <description>&lt;P&gt;I want total sales on card when i select "Select All" option in slicer.&lt;BR /&gt;or&lt;BR /&gt;&lt;SPAN&gt;if no date selected it should show last date sales in date column and id any specific date selected it should show sales for that dates.&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&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:28:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261459#M120621</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261463#M120622</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568803" data-lia-user-login="Angads" class="lia-mention lia-mention-user"&gt;Angads&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Values on selection =
IF (
    ISFILTERED ( Sheet1[Date] ),
    SUM ( Sheet1[Value] ),
    SUMX ( TOPN ( 1, Sheet1, Sheet1[Date] ), Sheet1[Value] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 May 2023 09:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261463#M120622</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-31T09:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261473#M120625</link>
      <description>&lt;P&gt;Its giving same result as of my formula but not giving Total sales on selecting "select all".&lt;BR /&gt;&lt;BR /&gt;other two conditions are met but not the select all one!&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;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261473#M120625</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261531#M120629</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568803" data-lia-user-login="Angads" class="lia-mention lia-mention-user"&gt;Angads&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you using a custom visual slicer?&lt;/P&gt;
&lt;P&gt;Normal slicer seems to interact normally with the ISFILTERED funtion&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:57:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261531#M120629</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-31T09:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261535#M120630</link>
      <description>&lt;P&gt;No, Default slicer !&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;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:54:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261535#M120630</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T09:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261562#M120632</link>
      <description>&lt;P&gt;What when Select all is also there in the slicer! That time its not working!&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;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:00:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261562#M120632</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T10:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261608#M120640</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Totalsales = SUM([Sales])&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR lastdatesvalues = CALCULATE(SUM([Sales]),LASTDATE(Date table))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR selected date = IF(ISFITHERED(Date table),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(Date table)=BLANK(),lastdates),SUM([Sale]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RETURN&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Totalsales&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:16:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261608#M120640</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-05-31T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261629#M120642</link>
      <description>&lt;P&gt;Not workin&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555402" data-lia-user-login="devanshi" class="lia-mention lia-mention-user"&gt;devanshi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261629#M120642</guid>
      <dc:creator>Angads</dc:creator>
      <dc:date>2023-05-31T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261659#M120648</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568803" data-lia-user-login="Angads" class="lia-mention lia-mention-user"&gt;Angads&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You are right, "Select All" is different than selecting all items one by one but it behaves exactly the same as nothing is selected. It does not seem to be any way to distinguish between the two scenarios.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 11:06:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261659#M120648</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-31T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dax!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261880#M120673</link>
      <description>&lt;P&gt;&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;Unfortunately no. Using the "Select all" feature simply behaves differently than individually selecting all of the items. It's the same as not selecting anything. I do not know of any way to distinguish between the two.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 12:42:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-dax/m-p/3261880#M120673</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-05-31T12:42:41Z</dc:date>
    </item>
  </channel>
</rss>

