<?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 Userelationsihp with dates power bi in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3828362#M149693</link>
    <description>&lt;P&gt;Hi Comunity could you help me&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a database with tow columns with dates one marks when a register has been created and other one mark the date when this is closed.&amp;nbsp; the thik is that i want to display in the same graph the number of tickets had been created on one day and how many had been close.&amp;nbsp; both coulmns has a relationship with my Calendar table.&amp;nbsp; right now the counting for my open items works but for the Closed items is just counting the cases which happens during the same month of the creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;this is what i have till now&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what i want &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 20:15:22 GMT</pubDate>
    <dc:creator>jacostal</dc:creator>
    <dc:date>2024-04-10T20:15:22Z</dc:date>
    <item>
      <title>Userelationsihp with dates power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3828362#M149693</link>
      <description>&lt;P&gt;Hi Comunity could you help me&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a database with tow columns with dates one marks when a register has been created and other one mark the date when this is closed.&amp;nbsp; the thik is that i want to display in the same graph the number of tickets had been created on one day and how many had been close.&amp;nbsp; both coulmns has a relationship with my Calendar table.&amp;nbsp; right now the counting for my open items works but for the Closed items is just counting the cases which happens during the same month of the creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;this is what i have till now&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what i want &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 20:15:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3828362#M149693</guid>
      <dc:creator>jacostal</dc:creator>
      <dc:date>2024-04-10T20:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Userelationsihp with dates power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3828654#M149721</link>
      <description>&lt;P&gt;Hi! This video on YouTube should get you where you need to be &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=pQ9eSnfAhnc&amp;amp;list=PLgn_nZKDhlyoQdVUeRMVZrJYJH43atIj5&amp;amp;index=3" target="_blank"&gt;DAX measure with start AND end date for Power BI (youtube.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 01:15:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3828654#M149721</guid>
      <dc:creator>audreygerred</dc:creator>
      <dc:date>2024-04-11T01:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Userelationsihp with dates power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3829075#M149731</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722170" data-lia-user-login="jacostal" class="lia-mention lia-mention-user"&gt;jacostal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First of all, many thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="622073" data-lia-user-login="audreygerred" class="lia-mention lia-mention-user"&gt;audreygerred&lt;/a&gt;&amp;nbsp; for your very quick and effective replies, and I will give some additions below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.Create the sample table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.Create the new measure to calculate created tickets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;created Tickets = 
VAR ticket_ = CALCULATE(
    COUNTROWS('Task Table'),
    USERELATIONSHIP('Task Table'[Created Date], 'Table'[Date])
)
RETURN
IF(ticket_ = 0, 0 , ticket_)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.Create the new measure to calculate closed tickets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;closed tickets = 
CALCULATE(
    COUNTROWS('Task Table'),
    USERELATIONSHIP('Task Table'[Closed Date], 'Table'[Date])
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4.Drag the measure into the table visual and line chart.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5.The result is shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 04:29:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Userelationsihp-with-dates-power-bi/m-p/3829075#M149731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T04:29:42Z</dc:date>
    </item>
  </channel>
</rss>

