<?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: Adding two columns from different sheet (using a filter) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2825061#M89798</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;My Sum = SUM('Sheet1'[Amount]) + SUM('Sheet2'[payment])&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 07 Oct 2022 08:34:15 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-10-07T08:34:15Z</dc:date>
    <item>
      <title>Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823271#M89671</link>
      <description>&lt;P&gt;I am trying to add two columns / sheet from a different sheet for the dashboard, but running into a 'Blank' statement if the corresponding row doesnt exist in one of the columns / sheet.&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet 1&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Fruit&lt;/TD&gt;&lt;TD&gt;Price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apple&lt;/TD&gt;&lt;TD&gt;$30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Orange&lt;/TD&gt;&lt;TD&gt;$45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Bannana&lt;/TD&gt;&lt;TD&gt;$25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pear&lt;/TD&gt;&lt;TD&gt;$15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Water Melon&lt;/TD&gt;&lt;TD&gt;$30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet 2:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Fruit&lt;/TD&gt;&lt;TD&gt;Price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apple&lt;/TD&gt;&lt;TD&gt;$20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Bannana&lt;/TD&gt;&lt;TD&gt;$10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pear&lt;/TD&gt;&lt;TD&gt;$40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Watermelon&lt;/TD&gt;&lt;TD&gt;$25&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Orange doesnt exist in sheet 2&lt;/P&gt;&lt;P&gt;I am trying to use the following formula and it gives me 'Blank' on dashboard when the filter on the dashboard is set to orange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dashboard: Filter is set to Orange&lt;/P&gt;&lt;P&gt;Total Price = sum('Sheet1'[Price], 'Sheet2'[Price])&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:18:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823271#M89671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-06T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823299#M89673</link>
      <description>&lt;P&gt;Create a dimension table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Fruits =
DISTINCT (
    UNION ( ALLNOBLANKROW ( 'Sheet1'[Fruit] ), ALLNOBLANKROW ( 'Sheet2'[Fruit] ) )
)
&lt;/LI-CODE&gt;
&lt;P&gt;and link that to both tables in a one-to-many relationship with a single direction. Use the column from the new table on any visuals or filters and it should be fine.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:25:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823299#M89673</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-06T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823345#M89677</link>
      <description>&lt;P&gt;Doesnt work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823345#M89677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-06T15:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823383#M89679</link>
      <description>&lt;P&gt;you'll need to be more specific, what result or error are you getting? can you share a sample PBIX ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:56:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823383#M89679</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-06T15:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823549#M89695</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;trying to get sum up these two values and I am getting an error.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The formula : =sum('sheet1'[Amount], 'sheet2'[payment]) works only if both these sheets have the value determined by the filter on the dashboard&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 17:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2823549#M89695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-06T17:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2825061#M89798</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;My Sum = SUM('Sheet1'[Amount]) + SUM('Sheet2'[payment])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 07 Oct 2022 08:34:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2825061#M89798</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-07T08:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two columns from different sheet (using a filter)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2831872#M90247</link>
      <description>&lt;P&gt;works just fine. thank you .. It was so simple, I was over complicating it ...&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 18:11:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-two-columns-from-different-sheet-using-a-filter/m-p/2831872#M90247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T18:11:58Z</dc:date>
    </item>
  </channel>
</rss>

