<?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 How to Plot Date (Month) Vs Revenue Vs Cost? Date columns must combine from 2 different Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3531598#M135697</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Table "Invoice" has columns "Invoice Date" and "Revenue".&lt;/P&gt;&lt;P&gt;Other Table "JobCost" has columns "Date" and "Cost".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to plot a visual of "Line and Column Chart". Which have Months on x-axis (Must be from Combination of both Tables Date column) , Y-axis Revenue, Secondary Y-axis Cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to combine both Date columns but its giving me an Error. When I am refrring to any one of Date column Vs other Columns, its showing wrong values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me, how to solve this problem. I tried many options since last days. Its not working. Guidelines will be really helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 20:55:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-11-13T20:55:02Z</dc:date>
    <item>
      <title>How to Plot Date (Month) Vs Revenue Vs Cost? Date columns must combine from 2 different Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3531598#M135697</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Table "Invoice" has columns "Invoice Date" and "Revenue".&lt;/P&gt;&lt;P&gt;Other Table "JobCost" has columns "Date" and "Cost".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to plot a visual of "Line and Column Chart". Which have Months on x-axis (Must be from Combination of both Tables Date column) , Y-axis Revenue, Secondary Y-axis Cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to combine both Date columns but its giving me an Error. When I am refrring to any one of Date column Vs other Columns, its showing wrong values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me, how to solve this problem. I tried many options since last days. Its not working. Guidelines will be really helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 20:55:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3531598#M135697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-13T20:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Plot Date (Month) Vs Revenue Vs Cost? Date columns must combine from 2 different Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3532224#M135728</link>
      <description>&lt;P&gt;hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;not sure if i fully get you. supposing you have an invoice table and a cost table like:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;try like:&lt;BR /&gt;1) add a calculated dates table like&lt;BR /&gt;dates = ADDCOLUMNS( CALENDAR( MIN(MIN(invoice[Date]), MIN(cost[Date])), MAX(MAX(invoice[Date]), MAX(cost[Date])) ), "YYMM", FORMAT([Date], "YY/MM") )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) relate the three tables like:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3) plot a line and column chart with dates[yymm] column, invoice[revenue] and cost[cost] like below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The point is to have shared dimension from a dedicated dimensional table.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 05:37:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3532224#M135728</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-11-14T05:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Plot Date (Month) Vs Revenue Vs Cost? Date columns must combine from 2 different Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3532581#M135745</link>
      <description>&lt;P&gt;It works. Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 08:50:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Plot-Date-Month-Vs-Revenue-Vs-Cost-Date-columns-must/m-p/3532581#M135745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-14T08:50:45Z</dc:date>
    </item>
  </channel>
</rss>

