<?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: Grand total become false in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719470#M82864</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try to adjust the measure as follows&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NewMeasure =
VAR T1 =
    ADDCOLUMNS (
        VALUES ( ProductCategory[ProductCategoryName] ),
        "@Flag",
            CALCULATE (
                IF ( SUM ( InternetSales_USD[SalesAmoun_USD] ) &amp;gt; 200000, TRUE (), FALSE () )
            )
    )
VAR T2 =
    SELECTCOLUMNS ( T1, "@@Flag", [@Flag] )
RETURN
    IF ( FALSE () IN T2, FALSE (), TRUE () )&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 23 Aug 2022 08:29:03 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-08-23T08:29:03Z</dc:date>
    <item>
      <title>Grand total become false</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719387#M82860</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;For the following table below, how should I write in dax for making grand total become false, if they contain false. such as &lt;SPAN&gt;Accessories contains false and I want the grand total becoming false.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 08:14:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719387#M82860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T08:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Grand total become false</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719470#M82864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try to adjust the measure as follows&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NewMeasure =
VAR T1 =
    ADDCOLUMNS (
        VALUES ( ProductCategory[ProductCategoryName] ),
        "@Flag",
            CALCULATE (
                IF ( SUM ( InternetSales_USD[SalesAmoun_USD] ) &amp;gt; 200000, TRUE (), FALSE () )
            )
    )
VAR T2 =
    SELECTCOLUMNS ( T1, "@@Flag", [@Flag] )
RETURN
    IF ( FALSE () IN T2, FALSE (), TRUE () )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 23 Aug 2022 08:29:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719470#M82864</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-23T08:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Grand total become false</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719500#M82868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a measure.&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;LI-CODE lang="markup"&gt;True or false measure: =
VAR _newtable =
    ADDCOLUMNS (
        SUMMARIZE ( InternetSales, Category[Category], 'Year'[Year] ),
        "@condition",
            IF (
                CALCULATE ( SUM ( InternetSales[SalesAmount] ) ) &amp;gt; 200000,
                TRUE (),
                FALSE ()
            )
    )
RETURN
    IF (
        COUNTROWS ( FILTER ( _newtable, [@condition] = FALSE () ) ) &amp;gt;= 1,
        FALSE (),
        TRUE ()
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 08:33:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-total-become-false/m-p/2719500#M82868</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-08-23T08:33:44Z</dc:date>
    </item>
  </channel>
</rss>

