<?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: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324012#M171668</link>
    <description>&lt;P&gt;How does you data look like? Do you have only Date or dateTime?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 13:59:42 GMT</pubDate>
    <dc:creator>moncx</dc:creator>
    <dc:date>2024-12-11T13:59:42Z</dc:date>
    <item>
      <title>i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323735#M171655</link>
      <description>&lt;P&gt;I set up a date column and added two options if todays date (today) then Yes if not should pop up rather its not oving&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 11:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323735#M171655</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-11T11:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323754#M171656</link>
      <description>&lt;P&gt;Can you give more context to your problem? How your data looks like, what have you done and what does not work? Does the filter not work when you apply 'if today' option?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 11:45:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323754#M171656</guid>
      <dc:creator>moncx</dc:creator>
      <dc:date>2024-12-11T11:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323802#M171660</link>
      <description>&lt;P&gt;I am trying to build a report for a team where i am trying to fetch P1 incidents reported in last 24 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you assist with any troubleshooting step or query?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:15:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4323802#M171660</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-11T12:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324012#M171668</link>
      <description>&lt;P&gt;How does you data look like? Do you have only Date or dateTime?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 13:59:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324012#M171668</guid>
      <dc:creator>moncx</dc:creator>
      <dc:date>2024-12-11T13:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324137#M171671</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see above these are the dates on which we got issues and here i am trying to implement a filter to get the count of tickets which we received in last 24 hours&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:47:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324137#M171671</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-11T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324846#M171707</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="899305" data-lia-user-login="Faeez" class="lia-mention lia-mention-user"&gt;Faeez&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for&amp;nbsp;moncx's reply. You can try this dax to achieve your need.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = IF( SELECTEDVALUE('Date'[Date]) &amp;gt;= (TODAY() -1) &amp;amp;&amp;amp; SELECTEDVALUE('Date'[Date])&amp;lt;TODAY(),"Yes")

Counts = CALCULATE(COUNTROWS('Date'),FILTER('Date',[Flag] = "Yes"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify; text-justify: inter-ideograph;"&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Yang&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify; text-justify: inter-ideograph;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;If there is any post &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Accept it as the solution&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365912356%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7IzyI2%2FMOAR%2FYCjWYSKCZL2VPmT4PsxuWBjdUdMWKzo%3D&amp;amp;reserved=0" target="_blank"&gt;How to get your questions answered quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;-- &lt;/SPAN&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365919045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=VeafzdwAsrpisD8s261%2FdyOwJ1aCtBXS3bPA6NODOHY%3D&amp;amp;reserved=0" target="_blank"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 02:49:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4324846#M171707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-12T02:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4325960#M171743</link>
      <description>&lt;P&gt;could you please help me with creating a DAX query for getting count of tickets created in last 24 hours using the data given below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Incident Number&lt;/TD&gt;&lt;TD&gt;Priority&lt;/TD&gt;&lt;TD&gt;Created&lt;/TD&gt;&lt;TD&gt;Work group&lt;/TD&gt;&lt;TD&gt;Issue description&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200000&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-12 00:28:00&lt;/TD&gt;&lt;TD&gt;Network L2&lt;/TD&gt;&lt;TD&gt;Network issue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200001&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-12 00:28:00&lt;/TD&gt;&lt;TD&gt;DB L2&lt;/TD&gt;&lt;TD&gt;DB issue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200002&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-12 00:28:00&lt;/TD&gt;&lt;TD&gt;Network L2&lt;/TD&gt;&lt;TD&gt;Network issue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200003&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-12 00:28:00&lt;/TD&gt;&lt;TD&gt;DB L2&lt;/TD&gt;&lt;TD&gt;DB issue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200004&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-10 00:28:00&lt;/TD&gt;&lt;TD&gt;Network L2&lt;/TD&gt;&lt;TD&gt;Network issue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INC-200005&lt;/TD&gt;&lt;TD&gt;1-critical&lt;/TD&gt;&lt;TD&gt;2024-12-11 00:28:00&lt;/TD&gt;&lt;TD&gt;DB L2&lt;/TD&gt;&lt;TD&gt;DB issue&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 12 Dec 2024 13:00:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4325960#M171743</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-12T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4325968#M171744</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 13:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4325968#M171744</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-12T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4327080#M171782</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="899305" data-lia-user-login="Faeez" class="lia-mention lia-mention-user"&gt;Faeez&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Of course, but&amp;nbsp;what do you expect to achieve, you can bring out the effect you want.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Yang&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 03:07:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4327080#M171782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-13T03:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4327984#M171815</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like to achieve the count of tickets received in last 24 hours using the data i gave you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run the DAX query you gave previously but i was getting error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you try the DAX for the given data ?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 12:44:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4327984#M171815</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-13T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4329610#M171869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="899305" data-lia-user-login="Faeez" class="lia-mention lia-mention-user"&gt;Faeez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To calculate the count of tickets created in the last 24 hours, you can use the following DAX measure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Tickets_Last_24_Hours = 
CALCULATE(
    COUNTROWS('Table'),
    'Table'[Created] &amp;gt;= NOW() - 1
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;This measure counts the number of rows in the table where the Created datetime column is greater than or equal to 24 hours ago, as determined by the NOW() function. Replace 'Table' with the actual name of your table. Ensure the Created column is formatted as a datetime type for proper comparison. If you need a static calculation based on a specific reference datetime, replace NOW() with DATETIME(YYYY, MM, DD, HH, MM, SS).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2024 14:29:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4329610#M171869</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-12-15T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4330435#M171894</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608865" data-lia-user-login="DataNinja777" class="lia-mention lia-mention-user"&gt;DataNinja777&lt;/a&gt;&amp;nbsp; Thank you Very much, this query help me achieve the output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are awesome.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 08:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4330435#M171894</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-16T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to fetch the count of data such as tickets created in last 24 hours in Power BI usingDAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4333158#M172035</link>
      <description>&lt;P&gt;Could you also tell me how to get the count of last 72 hours using DAX and another requirement is how to get the data for those count of data from 24hours/72 hours?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 13:30:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-am-trying-to-fetch-the-count-of-data-such-as-tickets-created/m-p/4333158#M172035</guid>
      <dc:creator>Faeez</dc:creator>
      <dc:date>2024-12-17T13:30:01Z</dc:date>
    </item>
  </channel>
</rss>

