<?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: Summing a Column by  Grouping by another column and creating conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-a-Column-by-Grouping-by-another-column-and-creating/m-p/3822987#M149519</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639272" data-lia-user-login="ismail95" class="lia-mention lia-mention-user"&gt;ismail95&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try below measure for logical test&lt;/P&gt;
&lt;P&gt;drag your task and assessment column to table visual and add below measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
SWITCH(TRUE(),
MIN(assessment[task])="a" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;5,1,
MIN(assessment[task])="b" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;3,1,
MIN(assessment[task])="c" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;6,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 10:17:43 GMT</pubDate>
    <dc:creator>Dangar332</dc:creator>
    <dc:date>2024-04-09T10:17:43Z</dc:date>
    <item>
      <title>Summing a Column by  Grouping by another column and creating conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-a-Column-by-Grouping-by-another-column-and-creating/m-p/3821897#M149469</link>
      <description>&lt;DIV&gt;Hi, I try to create the meausure/ table below, and need your help. I want to sum Assessment column grouping by Task Name. After that I will compare Sum of Assessments with the tasks threshold ( logic provided below)&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Apr 2024 06:59:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-a-Column-by-Grouping-by-another-column-and-creating/m-p/3821897#M149469</guid>
      <dc:creator>ismail95</dc:creator>
      <dc:date>2024-04-09T06:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Summing a Column by  Grouping by another column and creating conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-a-Column-by-Grouping-by-another-column-and-creating/m-p/3822987#M149519</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639272" data-lia-user-login="ismail95" class="lia-mention lia-mention-user"&gt;ismail95&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try below measure for logical test&lt;/P&gt;
&lt;P&gt;drag your task and assessment column to table visual and add below measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
SWITCH(TRUE(),
MIN(assessment[task])="a" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;5,1,
MIN(assessment[task])="b" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;3,1,
MIN(assessment[task])="c" &amp;amp;&amp;amp; SUM(assessment[assessment])&amp;gt;6,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 10:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-a-Column-by-Grouping-by-another-column-and-creating/m-p/3822987#M149519</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-04-09T10:17:43Z</dc:date>
    </item>
  </channel>
</rss>

