<?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: Need Help with DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3229155#M118427</link>
    <description>&lt;P&gt;Thanks for your reply,&lt;BR /&gt;This solution is static one, I want dynamic measure, Like instead of using trdr1=51 and week =1, I want to sum for all trdrs and weeks.&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 15:55:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-10T15:55:09Z</dc:date>
    <item>
      <title>Need Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3227713#M118275</link>
      <description>&lt;P&gt;Hello, Hope you all are doing great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck in one conditional DAX formula&amp;nbsp;&lt;BR /&gt;I have one table in which I have 5 Columns trdr1, trdr2, week, trdr1 prft and trdr2 prft.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to calculate profit based on some condition like if trdr1 = 51 and week = 1 than calculate sum of trdr1 prft&lt;BR /&gt;and if trdr2 = 51 and week =2 (Suppose week =2 is not present where trdr1 =51 ) than calculate sum of trdr2.&lt;/P&gt;&lt;P&gt;If we have matching values like&amp;nbsp;trdr1 = 51 and week = 1,&amp;nbsp;trdr2 = 51 and week = 1 than it should consider value from trdr1 prft&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I have explained problem statement fully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with this problem it will be very helpful to me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 19:20:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3227713#M118275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-09T19:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3228283#M118331</link>
      <description>&lt;P&gt;not sure if i got you correctly but you could try using if or switch&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Condition =&amp;nbsp;&lt;BR /&gt;SWITCH(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;TRUE(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;AND('table'[trdr1] = 51 ,&amp;nbsp;'table'[week] = 1) , sum('table'[trdr1]),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;AND('table'[trdr2] = 51 ,&amp;nbsp;'table'[week] = 2) , sum('table'[trdr2]),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;AND('table'[trdr1] = 51 , AND('table'[week] = 1, table'[trdr2] = 51)) , sum('table'[trdr1]),&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 07:17:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3228283#M118331</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-05-10T07:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3229155#M118427</link>
      <description>&lt;P&gt;Thanks for your reply,&lt;BR /&gt;This solution is static one, I want dynamic measure, Like instead of using trdr1=51 and week =1, I want to sum for all trdrs and weeks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 15:55:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3229155#M118427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-10T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3229180#M118429</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share some demo data along with the desire output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 16:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-DAX/m-p/3229180#M118429</guid>
      <dc:creator>Ajendra</dc:creator>
      <dc:date>2023-05-10T16:08:18Z</dc:date>
    </item>
  </channel>
</rss>

