<?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: DAX Filtering help in a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Filtering-help-in-a-measure/m-p/3003272#M101493</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="493597" data-lia-user-login="JonArnold" class="lia-mention lia-mention-user"&gt;JonArnold&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Perhaps something like this?&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NUMBER OF DEFECTIVE UNITS =
SUMX (
    FILTER ( WFT_DATA, WFT_DATA[Issue_type] = "Qualität" ),
    WFT_DATA[NVA_UNITS]
)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 05 Jan 2023 12:19:40 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-01-05T12:19:40Z</dc:date>
    <item>
      <title>DAX Filtering help in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Filtering-help-in-a-measure/m-p/3003247#M101488</link>
      <description>&lt;P&gt;Hi I am trying to work out how to use a filter in a measure using DAX &amp;amp; I am going round in circles.&lt;/P&gt;&lt;P&gt;I have a table that contains : ISSUE TYPE NVA_UNITS and a few other columns&lt;/P&gt;&lt;P&gt;I want to create a measure that will SUM the NVA_UNITS column (this is a Float data type)&lt;/P&gt;&lt;P&gt;the measure must also filter the sum so that it only returns the data with ISSUE TYPE "Qualität" ISSUE TYPE is data type varchar(50)&lt;/P&gt;&lt;P&gt;I have a Direct connection to an SQL database I want to create a measure that will return just the values that are issue type Qualität &amp;amp; SUM the number of UNITS affected. so far I have tried many queries and i've just not got the knowledge&lt;/P&gt;&lt;P&gt;I expect its a simple thing - I just need to find out how.&lt;/P&gt;&lt;P&gt;heres the code I tried last&lt;/P&gt;&lt;P&gt;NUMBER OF DEFECTIVE UNITS = SUMX( FILTER (WFT_DATA,'wft_data'[Issue_type] =[Issue_type]'Qualität'),(WFT_DATA[NVA_UNITS]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the syntax is incorrect Hoping someone can help&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Filtering-help-in-a-measure/m-p/3003247#M101488</guid>
      <dc:creator>JonArnold</dc:creator>
      <dc:date>2023-01-05T12:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Filtering help in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Filtering-help-in-a-measure/m-p/3003272#M101493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="493597" data-lia-user-login="JonArnold" class="lia-mention lia-mention-user"&gt;JonArnold&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Perhaps something like this?&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NUMBER OF DEFECTIVE UNITS =
SUMX (
    FILTER ( WFT_DATA, WFT_DATA[Issue_type] = "Qualität" ),
    WFT_DATA[NVA_UNITS]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Filtering-help-in-a-measure/m-p/3003272#M101493</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-05T12:19:40Z</dc:date>
    </item>
  </channel>
</rss>

