<?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: Filter for a condition and populate one table value if true else populate another table value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3192676#M115823</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="514923" data-lia-user-login="Krishna2285" class="lia-mention lia-mention-user"&gt;Krishna2285&lt;/a&gt;&amp;nbsp; can share demo dataset and Output you want.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 04:45:18 GMT</pubDate>
    <dc:creator>Mahesh0016</dc:creator>
    <dc:date>2023-04-18T04:45:18Z</dc:date>
    <item>
      <title>Filter for a condition and populate one table value if true else populate another table value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3192669#M115822</link>
      <description>&lt;P&gt;check 3 = if (FILTER(Dim_Date,Month(Dim_Date[Date Only].[Date]) = Month(TODAY())),[check 2],[check])&lt;/P&gt;&lt;P&gt;here check 2 and check are built measures from 2 different tables&lt;BR /&gt;i am trying to get another value if the date is current month&lt;/P&gt;&lt;P&gt;can i get to resolve this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 04:30:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3192669#M115822</guid>
      <dc:creator>Krishna2285</dc:creator>
      <dc:date>2023-04-18T04:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for a condition and populate one table value if true else populate another table value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3192676#M115823</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="514923" data-lia-user-login="Krishna2285" class="lia-mention lia-mention-user"&gt;Krishna2285&lt;/a&gt;&amp;nbsp; can share demo dataset and Output you want.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 04:45:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3192676#M115823</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2023-04-18T04:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for a condition and populate one table value if true else populate another table value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3197279#M116116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="514923" data-lia-user-login="Krishna2285" class="lia-mention lia-mention-user"&gt;Krishna2285&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want a measure? If so, in which visual do you want to put it in? Is there any other field or measure in the same visual? Assume that you want a measure and add it to a table visual which already has the Date column, you can try a measure like&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(MONTH(SELECTEDVALUE('Dim_Date'[Date]))=MONTH(TODAY()),[Measure 1],[Measure 2])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to have a calculated column in the Dim_Date table, you can try DAX like&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = IF(MONTH('Dim_Date'[Date])=MONTH(TODAY()),"value 1","value 2")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Jing&lt;BR /&gt;If this post helps, please Accept it as Solution to help other members find it.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 06:39:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-for-a-condition-and-populate-one-table-value-if-true-else/m-p/3197279#M116116</guid>
      <dc:creator>v-jingzhang</dc:creator>
      <dc:date>2023-04-20T06:39:17Z</dc:date>
    </item>
  </channel>
</rss>

