<?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 expression with filter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2953597#M40174</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/459751"&gt;@22LACMT&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think these fields may not include in the 'percent' table so Dax expression cannot invoke correspond fields values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Can you please share a pbix or some dummy data that keep the raw data structure and dax formulas with expected results? It should help us clarify your scenario and test to coding formula.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 09:43:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-07T09:43:38Z</dc:date>
    <item>
      <title>Dax expression with filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2898477#M39688</link>
      <description>&lt;P&gt;Does anyone know why this is not working? the math is working but it is not filtering the population by the 5 different dates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PDWAVG = CALCULATE(sumx('percent','percent'[Tier1Exposure] * 'percent'[PDGrade]) / sum('percent'[Tier1Exposure]), (FILTER( 'percent','percent'[ver]) ))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Nov 2022 20:35:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2898477#M39688</guid>
      <dc:creator>22LACMT</dc:creator>
      <dc:date>2022-11-10T20:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dax expression with filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2898970#M39691</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/459751"&gt;@22LACMT&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can try to use the following measure formula if helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PDWAVG =
VAR summary =
    SUMMARIZE (
        ALLSELECTED ( 'percent' ),
        'percent'[ver],
        "rate", 'percent'[Tier1Exposure] * 'percent'[PDGrade]
    )
RETURN
    CALCULATE (
        SUMX ( summary, [rate] ) / SUM ( 'percent'[Tier1Exposure] ),
        ALLSELECTED ( 'percent' ),
        VALUES ( 'percent'[ver] )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If these also don't help, can you&amp;nbsp;share a pbix or some dummy data that keep the raw data structure with expected results? They should help us clarify your scenario and test to coding formula.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 02:49:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2898970#M39691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-11T02:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dax expression with filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2906944#M39752</link>
      <description>&lt;P&gt;Thank you for your help, I tried it as a measure and I got the below error message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="22LACMT_0-1668525591512.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/823428iDB414D99E35E0F88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="22LACMT_0-1668525591512.png" alt="22LACMT_0-1668525591512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2906944#M39752</guid>
      <dc:creator>22LACMT</dc:creator>
      <dc:date>2022-11-15T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dax expression with filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2953597#M40174</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/459751"&gt;@22LACMT&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think these fields may not include in the 'percent' table so Dax expression cannot invoke correspond fields values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Can you please share a pbix or some dummy data that keep the raw data structure and dax formulas with expected results? It should help us clarify your scenario and test to coding formula.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:43:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-expression-with-filter/m-p/2953597#M40174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-07T09:43:38Z</dc:date>
    </item>
  </channel>
</rss>

