<?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: Calculate and Sum with Wildcard in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817090#M89358</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="390699" data-lia-user-login="thebeginner1204" class="lia-mention lia-mention-user"&gt;thebeginner1204&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide sample data along with the expected result.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 13:42:00 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-10-04T13:42:00Z</dc:date>
    <item>
      <title>Calculate and Sum with Wildcard</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817024#M89353</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;is there a possibility to set a sum from a filter with wildcard using DAX?&lt;/P&gt;&lt;P&gt;I have a list of accounts.&lt;BR /&gt;I want to sum the accounts &amp;gt;=10xx* and &amp;lt;=109x*.&lt;BR /&gt;The accounts are formatted as numeric fields.&lt;BR /&gt;Without a wildcard the filter works, but the accounts are dynamic, so I am looking for a solution to make it so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TBL'&lt;/SPAN&gt;&lt;SPAN&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TBL&lt;/SPAN&gt;&lt;SPAN&gt;[Accounts]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;TBL&lt;/SPAN&gt;&lt;SPAN&gt;[Accounts]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;* &amp;amp;&amp;amp; &amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;109&lt;/SPAN&gt;&lt;SPAN&gt;*)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks for a Tipp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:17:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817024#M89353</guid>
      <dc:creator>thebeginner1204</dc:creator>
      <dc:date>2022-10-04T13:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate and Sum with Wildcard</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817085#M89357</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="390699" data-lia-user-login="thebeginner1204" class="lia-mention lia-mention-user"&gt;thebeginner1204&lt;/a&gt;&amp;nbsp;Well, you don't need the * for the &amp;gt;10. Perhaps pick a reasonable maximum for the other? 109999?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817085#M89357</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-04T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate and Sum with Wildcard</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817090#M89358</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="390699" data-lia-user-login="thebeginner1204" class="lia-mention lia-mention-user"&gt;thebeginner1204&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide sample data along with the expected result.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817090#M89358</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-04T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate and Sum with Wildcard</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817150#M89362</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;sure, here:&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;&lt;P&gt;The following list contains accounts (Columm "Konto") which have to be calculated separately.&lt;BR /&gt;Marked red refers to the question in this case.&lt;BR /&gt;The filter should sum up all values in the column "Bewegung" which are either &amp;gt;=1000 &amp;lt;=1099 or &amp;gt;=10000 &amp;lt;= 10999 in the column "Konto", i.e. either between 1000 and 1099 or between 10000 and 10999.&lt;/P&gt;&lt;P&gt;This is how I tried it, the formula works, but the result is 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I tried it, the formula works, but the result is 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;BR /&gt;SUM('TBL'[Bewegung]),&lt;BR /&gt;FILTER(ALL(TBL[Konto]),TBL[Konto] &amp;gt;=1000 &amp;amp;&amp;amp; TBL[Konto] &amp;lt;=1099 &amp;amp;&amp;amp; TBL[Konto] &amp;gt;=10000 &amp;amp;&amp;amp; TBL[Konto] &amp;lt;=10999)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817150#M89362</guid>
      <dc:creator>thebeginner1204</dc:creator>
      <dc:date>2022-10-04T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate and Sum with Wildcard</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817155#M89363</link>
      <description>&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;correct, i find a way for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;BR /&gt;SUM('TBL'[Bewegung]),&lt;BR /&gt;FILTER(ALL(TBL[Konto]),TBL[Konto] &amp;gt;=1000 &amp;amp;&amp;amp; TBL[Konto] &amp;lt;=1099 &amp;amp;&amp;amp; TBL[Konto] &amp;gt;=10000 &amp;amp;&amp;amp; TBL[Konto] &amp;lt;=10999)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:07:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-and-Sum-with-Wildcard/m-p/2817155#M89363</guid>
      <dc:creator>thebeginner1204</dc:creator>
      <dc:date>2022-10-04T14:07:05Z</dc:date>
    </item>
  </channel>
</rss>

