<?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: Form Completion by Week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Form-Completion-by-Week/m-p/3434760#M130297</link>
    <description>&lt;P&gt;Alright, let's break this down. First, you'll want to connect your SharePoint list to Power BI. Once you've done that, you'll have a table, let's call it 'EngineerChecks'.&lt;/P&gt;
&lt;P&gt;Now, assuming there's a date column in 'EngineerChecks' that indicates when the check was completed, you can create a new calculated column in Power BI to determine the week number. You can use the WEEKNUM function in DAX for this. Here's how you can do it:&lt;/P&gt;
&lt;P&gt;WeekNumber = WEEKNUM(EngineerChecks[DateColumn])&lt;BR /&gt;Replace DateColumn with the name of your date column.&lt;/P&gt;
&lt;P&gt;Next, you'll want to create a measure to determine if an engineer has completed their check for a particular week. This can be done using the COUNTROWS function. Here's a simple measure:&lt;/P&gt;
&lt;P&gt;ChecksCompleted = COUNTROWS(EngineerChecks)&lt;BR /&gt;Now, to determine the RAG rating, you can create another measure. If the count of rows for an engineer in a particular week is greater than 0, it's green; otherwise, it's red.&lt;/P&gt;
&lt;P&gt;RAGRating = &lt;BR /&gt;IF([ChecksCompleted] &amp;gt; 0, "Green", "Red")&lt;BR /&gt;Now, in your report, you can create a matrix visual. Place the engineer names on the rows, the WeekNumber on the columns, and the RAGRating measure in the values. This will give you a matrix where each cell represents whether an engineer completed their check for a particular week (Green) or didn't (Red).&lt;/P&gt;
&lt;P&gt;Lastly, you can use conditional formatting in the matrix visual to actually color the cells green or red based on the value.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Sep 2023 17:21:14 GMT</pubDate>
    <dc:creator>technolog</dc:creator>
    <dc:date>2023-09-17T17:21:14Z</dc:date>
    <item>
      <title>Form Completion by Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Form-Completion-by-Week/m-p/1146628#M17326</link>
      <description>&lt;P&gt;Morning All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm after some help please...Our Engineers are required to complete a weekly H&amp;amp;S check of their vehicles (brakes, battery, tyres etc). They complete this via our own mobile app and the data is pushed into a Sharepoint list which I'm about to connect to PowerBI. The Ops Director has asked for a simple report that identifies of all of the Engineers, who completed the weekly check and who didn't? So essentially I need DAX/visual/whatever to identify a RAG green or red rating on complete/incomplete forms by week, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:36:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Form-Completion-by-Week/m-p/1146628#M17326</guid>
      <dc:creator>Wharfey</dc:creator>
      <dc:date>2020-06-08T08:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Form Completion by Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Form-Completion-by-Week/m-p/3434760#M130297</link>
      <description>&lt;P&gt;Alright, let's break this down. First, you'll want to connect your SharePoint list to Power BI. Once you've done that, you'll have a table, let's call it 'EngineerChecks'.&lt;/P&gt;
&lt;P&gt;Now, assuming there's a date column in 'EngineerChecks' that indicates when the check was completed, you can create a new calculated column in Power BI to determine the week number. You can use the WEEKNUM function in DAX for this. Here's how you can do it:&lt;/P&gt;
&lt;P&gt;WeekNumber = WEEKNUM(EngineerChecks[DateColumn])&lt;BR /&gt;Replace DateColumn with the name of your date column.&lt;/P&gt;
&lt;P&gt;Next, you'll want to create a measure to determine if an engineer has completed their check for a particular week. This can be done using the COUNTROWS function. Here's a simple measure:&lt;/P&gt;
&lt;P&gt;ChecksCompleted = COUNTROWS(EngineerChecks)&lt;BR /&gt;Now, to determine the RAG rating, you can create another measure. If the count of rows for an engineer in a particular week is greater than 0, it's green; otherwise, it's red.&lt;/P&gt;
&lt;P&gt;RAGRating = &lt;BR /&gt;IF([ChecksCompleted] &amp;gt; 0, "Green", "Red")&lt;BR /&gt;Now, in your report, you can create a matrix visual. Place the engineer names on the rows, the WeekNumber on the columns, and the RAGRating measure in the values. This will give you a matrix where each cell represents whether an engineer completed their check for a particular week (Green) or didn't (Red).&lt;/P&gt;
&lt;P&gt;Lastly, you can use conditional formatting in the matrix visual to actually color the cells green or red based on the value.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2023 17:21:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Form-Completion-by-Week/m-p/3434760#M130297</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2023-09-17T17:21:14Z</dc:date>
    </item>
  </channel>
</rss>

