<?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: Last week Dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795932#M4680</link>
    <description>&lt;P&gt;Shall we check. you can ping me on skype - deevaker1&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 14:58:05 GMT</pubDate>
    <dc:creator>deevaker</dc:creator>
    <dc:date>2019-09-18T14:58:05Z</dc:date>
    <item>
      <title>Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795503#M4673</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Dear All,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have this formula below to calculate period in date for weeks but it keeps bringing the wrong data&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Last week = CALCULATE([PPE Lsum], DATESINPERIOD('Calendar'[date], TODAY(),-7,DAY))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LastWeek = CALCULATE(SUM('Occupational Safety'[Value]),filter(ALL('Occupational Safety'[Week]),'Occupational Safety'[Week]=WEEKNUM(TODAY(),1)-1))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please assist,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Sep 2019 08:56:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795503#M4673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-18T08:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795895#M4678</link>
      <description>&lt;P&gt;First measure looks correct. Hope the relationship between your tables are fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In second table, look like you need to use &amp;gt;= instead of = while doing filter.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LastWeek = CALCULATE(SUM('Occupational Safety'[Value]),filter(ALL('Occupational Safety'[Week]),'Occupational Safety'[Week]&amp;gt;=WEEKNUM(TODAY(),1)-1))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:29:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795895#M4678</guid>
      <dc:creator>deevaker</dc:creator>
      <dc:date>2019-09-18T14:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795922#M4679</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I tried it but it didn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:47:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795922#M4679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-18T14:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795932#M4680</link>
      <description>&lt;P&gt;Shall we check. you can ping me on skype - deevaker1&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:58:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/795932#M4680</guid>
      <dc:creator>deevaker</dc:creator>
      <dc:date>2019-09-18T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/796681#M4704</link>
      <description>&lt;P&gt;ThanK you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="38397" data-lia-user-login="deevaker" class="lia-mention lia-mention-user"&gt;deevaker&lt;/a&gt; the solutioin worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;LastWeek = CALCULATE(SUM('Occupational Safety'[Value]),filter(ALLEXCEPT('Occupational Safety','Occupational Safety'[PPE],'Occupational Safety'[YEAR]),'Occupational Safety'[Week]=WEEKNUM(TODAY(),1)-1))&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 08:10:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/796681#M4704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-19T08:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Last week Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/2210983#M52175</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="38397" data-lia-user-login="deevaker" class="lia-mention lia-mention-user"&gt;deevaker&lt;/a&gt;&amp;nbsp; Could you look at my Dax Measure? do all columns have to reference the same table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LastWeek = CALCULATE(COUNT('SSRS_MissionServices_ActivitesDetail_view'[ActivityID]),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'dimDate'[CalendarYear]),'dimDate'[ISOWeekNumber]=WEEKNUM(TODAY(),1)-1))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Nov 2021 00:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-Dax/m-p/2210983#M52175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-29T00:39:58Z</dc:date>
    </item>
  </channel>
</rss>

