<?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: How to sum rows based on values starting with 2 different numbers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019225#M158546</link>
    <description>&lt;P&gt;That worked thanks so much!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 22:29:10 GMT</pubDate>
    <dc:creator>NPatel12498</dc:creator>
    <dc:date>2024-07-01T22:29:10Z</dc:date>
    <item>
      <title>How to sum rows based on values starting with 2 different numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019093#M158536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do a calculation within a column that takes the sum of all the raw costs where the Org name starts with either a "1" or a "3" and the Cost Category = Regular Labor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the formula that I have but not sure if it is correct:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;S&amp;amp;T Labor = 
CALCULATE(
	SUM('Raw Costs'[ACCT_RAW_COST]),
	'Raw Costs'[ICE_MODEL_COST_CATEGORY]= "Regular Labor" &amp;amp;&amp;amp; OR(LEFT('Raw Costs'[ORG_NAME],1) = "1", LEFT('Raw Costs'[ORG_NAME],1)="3")
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 19:21:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019093#M158536</guid>
      <dc:creator>NPatel12498</dc:creator>
      <dc:date>2024-07-01T19:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum rows based on values starting with 2 different numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019194#M158542</link>
      <description>&lt;P&gt;Please provide more deatils with some example data to understand requirement correctly?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 21:52:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019194#M158542</guid>
      <dc:creator>VN999</dc:creator>
      <dc:date>2024-07-01T21:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum rows based on values starting with 2 different numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019198#M158543</link>
      <description>&lt;P&gt;HI, I need to take the sum of all of the rows where the Org Name starts with "1" or "3" &lt;U&gt;and&lt;/U&gt; has a Cost Category = "Regular Labor".. in the screenshot below, it would be $6,327,373 + $264,953 = $6,592,326.&lt;/P&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;</description>
      <pubDate>Mon, 01 Jul 2024 22:03:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019198#M158543</guid>
      <dc:creator>NPatel12498</dc:creator>
      <dc:date>2024-07-01T22:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum rows based on values starting with 2 different numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019203#M158544</link>
      <description>&lt;P&gt;Try to create DAX Measure and check :&lt;/P&gt;&lt;P&gt;TotalRegularLabor :=&lt;BR /&gt;SUMX (&lt;BR /&gt;FILTER (&lt;BR /&gt;YourTable,&lt;BR /&gt;(LEFT(YourTable[Org Name], 1) = "1" || LEFT(YourTable[Org Name], 1) = "3") &amp;amp;&amp;amp;&lt;BR /&gt;YourTable[Cost Category] = "Regular Labor"&lt;BR /&gt;),&lt;BR /&gt;YourTable[Amount]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 22:08:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019203#M158544</guid>
      <dc:creator>VN999</dc:creator>
      <dc:date>2024-07-01T22:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum rows based on values starting with 2 different numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019225#M158546</link>
      <description>&lt;P&gt;That worked thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 22:29:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-rows-based-on-values-starting-with-2-different/m-p/4019225#M158546</guid>
      <dc:creator>NPatel12498</dc:creator>
      <dc:date>2024-07-01T22:29:10Z</dc:date>
    </item>
  </channel>
</rss>

