<?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: Column chart with two different date for the same month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3217336#M117484</link>
    <description>&lt;P&gt;Create 2 relationships from your date table to your fact table, one based on the sign off date and one based on the reported date. You can then activate the correct relationship in the measures like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num reported =
CALCULATE (
    COUNTROWS ( 'Table' ),
    USERELATIONSHIP ( 'Date'[Date], 'Table'[Reported date] )
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 03 May 2023 08:14:19 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2023-05-03T08:14:19Z</dc:date>
    <item>
      <title>Column chart with two different date for the same month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3217151#M117477</link>
      <description>&lt;P&gt;I would like to make a stacked column chart that reports the number of incidents closed in a month, basis the incident sign-off date and the number of incidents reported in a month, basis the incident reported date. The Y-axis will the be number of incidents and the X-axis is the month-year of the past 12 months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tables are imported using Direct Query as the dataset is large. Hence I am unable to do any calculated columns, only DAX measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 06:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3217151#M117477</guid>
      <dc:creator>zhona9</dc:creator>
      <dc:date>2023-05-03T06:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Column chart with two different date for the same month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3217336#M117484</link>
      <description>&lt;P&gt;Create 2 relationships from your date table to your fact table, one based on the sign off date and one based on the reported date. You can then activate the correct relationship in the measures like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num reported =
CALCULATE (
    COUNTROWS ( 'Table' ),
    USERELATIONSHIP ( 'Date'[Date], 'Table'[Reported date] )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 May 2023 08:14:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3217336#M117484</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-05-03T08:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Column chart with two different date for the same month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3224474#M118029</link>
      <description>&lt;P&gt;Do you have a link to how to create a date table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this code, but not sure if it is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Dates = CALENDAR(MIN('g360_Incidents'[reported_date]),MAX('g360_Incidents'[risk_lead_sign_off_date]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 07:42:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3224474#M118029</guid>
      <dc:creator>zhona9</dc:creator>
      <dc:date>2023-05-08T07:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Column chart with two different date for the same month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3226420#M118174</link>
      <description>&lt;P&gt;&lt;A href="https://bravo.bi/" target="_blank"&gt;https://bravo.bi/&lt;/A&gt;&amp;nbsp;can create date tables for you. The syntax you used is correct, not sure why you're getting an error. Maybe some of the dates in the columns you referenced are blank.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 08:14:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3226420#M118174</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-05-09T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Column chart with two different date for the same month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3229651#M118468</link>
      <description>&lt;P&gt;In the end I used the reported date for min and max in the date table and it was ok. You are right, the sign off date will be blank at times and that caused the error.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 02:29:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-chart-with-two-different-date-for-the-same-month/m-p/3229651#M118468</guid>
      <dc:creator>zhona9</dc:creator>
      <dc:date>2023-05-11T02:29:26Z</dc:date>
    </item>
  </channel>
</rss>

