<?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: Assign a value to missing matches between two tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403537#M63014</link>
    <description>&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work well with some minor changes. But it always shows all the vales even after I apply a filter. Is there a way to filter values with the respective filters.&amp;nbsp;&lt;BR /&gt;For example - If I add a new column with user attributes, like age group and I filter on that, it still shows all the values.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 14:54:10 GMT</pubDate>
    <dc:creator>vibhoryadav23</dc:creator>
    <dc:date>2022-03-18T14:54:10Z</dc:date>
    <item>
      <title>Assign a value to missing matches between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2401064#M62827</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am pulling values from Table_2 in Table_1 with a realtionship. But there are some missing values in Table_2 which shows blank values in my Table_1. Instead of blank, I want to hard code a number eg - '8' or '0' whenever there is a missing match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table_1&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/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TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 15:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2401064#M62827</guid>
      <dc:creator>vibhoryadav23</dc:creator>
      <dc:date>2022-03-17T15:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a value to missing matches between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2401332#M62854</link>
      <description>&lt;P&gt;You can substitute something else for blanks like this:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Count =
VAR _Count = SUM ( Table_2[count] )
RETURN
    IF ( ISBLANK ( _Count ), 8, _Count )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 17:14:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2401332#M62854</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-03-17T17:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a value to missing matches between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403537#M63014</link>
      <description>&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work well with some minor changes. But it always shows all the vales even after I apply a filter. Is there a way to filter values with the respective filters.&amp;nbsp;&lt;BR /&gt;For example - If I add a new column with user attributes, like age group and I filter on that, it still shows all the values.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 14:54:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403537#M63014</guid>
      <dc:creator>vibhoryadav23</dc:creator>
      <dc:date>2022-03-18T14:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a value to missing matches between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403685#M63028</link>
      <description>&lt;P&gt;It can be tricky since you have to specify which non-existing values you do and don't want to replace (how do you tell which blanks are which?). Can you give a specific example of what you're getting versus what you expect to get?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 16:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403685#M63028</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-03-18T16:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a value to missing matches between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403688#M63029</link>
      <description>&lt;P&gt;Ignore this for now as I have found a workaround for it (By creating a new table with unique values).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 16:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assign-a-value-to-missing-matches-between-two-tables/m-p/2403688#M63029</guid>
      <dc:creator>vibhoryadav23</dc:creator>
      <dc:date>2022-03-18T16:22:53Z</dc:date>
    </item>
  </channel>
</rss>

