<?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 help calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4793561#M183470</link>
    <description>&lt;P&gt;First of all, please excuse my lack of knowledge in making this inquiry.&lt;/P&gt;&lt;P&gt;I have two tables, one for open tickets and another for closed tickets, and a table of dates (calculate dates).&lt;/P&gt;&lt;P&gt;I have a display with averages of open and resolved tickets, but I want to calculate the number of tickets that are open on a given date. However, no matter how many formulas I try, it doesn't work.&lt;/P&gt;&lt;P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried several formulas, including this one, but it does not calculate correctly.&lt;/P&gt;&lt;P&gt;Prueba = VAR FechaSeleccionada = SELECTEDVALUE(Fechas[Date])&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(TICKETS_ABIERTOS),&lt;BR /&gt;TICKETS_ABIERTOS[Apertura] &amp;lt;= FechaSeleccionada,&lt;BR /&gt;OR(&lt;BR /&gt;ISBLANK(TICKETS_ABIERTOS[Resolucion]),&lt;BR /&gt;TICKETS_ABIERTOS[Resolucion] &amp;gt;= FechaSeleccionada&lt;BR /&gt;)&amp;nbsp;&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;I am also unable to generate a visual table that filters by the result of this measurement.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 17:19:12 GMT</pubDate>
    <dc:creator>rakelvillanueva</dc:creator>
    <dc:date>2025-08-11T17:19:12Z</dc:date>
    <item>
      <title>help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4793561#M183470</link>
      <description>&lt;P&gt;First of all, please excuse my lack of knowledge in making this inquiry.&lt;/P&gt;&lt;P&gt;I have two tables, one for open tickets and another for closed tickets, and a table of dates (calculate dates).&lt;/P&gt;&lt;P&gt;I have a display with averages of open and resolved tickets, but I want to calculate the number of tickets that are open on a given date. However, no matter how many formulas I try, it doesn't work.&lt;/P&gt;&lt;P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried several formulas, including this one, but it does not calculate correctly.&lt;/P&gt;&lt;P&gt;Prueba = VAR FechaSeleccionada = SELECTEDVALUE(Fechas[Date])&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(TICKETS_ABIERTOS),&lt;BR /&gt;TICKETS_ABIERTOS[Apertura] &amp;lt;= FechaSeleccionada,&lt;BR /&gt;OR(&lt;BR /&gt;ISBLANK(TICKETS_ABIERTOS[Resolucion]),&lt;BR /&gt;TICKETS_ABIERTOS[Resolucion] &amp;gt;= FechaSeleccionada&lt;BR /&gt;)&amp;nbsp;&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;I am also unable to generate a visual table that filters by the result of this measurement.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4793561#M183470</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-11T17:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4793666#M183471</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;&amp;nbsp;Have a look at this, I created this specifically for the purpose you are describing:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364#M147" target="_blank"&gt;Open Tickets - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 20:11:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4793666#M183471</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2025-08-11T20:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794019#M183477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;&amp;nbsp;please try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Tickets Open on Date =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;FechaSeleccionada&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&g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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Merge1&lt;/SPAN&gt;&lt;SPAN&gt;[TICKETS_CERRADOS.Resolucion]&lt;/SPAN&gt;&lt;SPAN&gt;) ||&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Merge1&lt;/SPAN&gt;&lt;SPAN&gt;[TICKETS_CERRADOS.Resolucion]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;FechaSeleccionada&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Aug 2025 06:53:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794019#M183477</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-08-12T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794648#M183497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Ticket backlog was a pain for me to.&lt;/P&gt;&lt;P&gt;Here's the DAX I used (Obviously, add your tables and columns):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Incident Backlog = 
VAR CurrentDate = MAX('Date'[Date])
VAR ActiveTickets =
CALCULATE(DISTINCTCOUNT(Incidents[Number]),
ALL('Date'),
'Date'[Date]&amp;lt;=CurrentDate,
ISBLANK(Incidents[Resolved Date])
||Incidents[Resolved Date]&amp;gt;=CurrentDate)
Return
ActiveTickets&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 14:45:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794648#M183497</guid>
      <dc:creator>wardy912</dc:creator>
      <dc:date>2025-08-12T14:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794767#M183509</link>
      <description>&lt;P&gt;I have tried that solution several times and it has not worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 16:59:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794767#M183509</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-12T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794768#M183510</link>
      <description>&lt;P&gt;I have tried that solution several times and it has not worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 17:00:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794768#M183510</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-12T17:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794769#M183511</link>
      <description>&lt;P&gt;I'm testing this, but I would like to add a filter to the formula for a field I have for groups and a slicer so I can filter.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 17:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794769#M183511</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-12T17:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794770#M183512</link>
      <description>&lt;P&gt;I'm testing this, but I would like to add a filter to the formula for a field I have for groups and a slicer so I can filter.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 17:00:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794770#M183512</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-12T17:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794772#M183513</link>
      <description>&lt;P&gt;Can you show me your version please?&lt;/P&gt;&lt;P&gt;If you've swapped out the tables/columns for yours there shouldn't be an issue. Do you have an active relationship between your date table and opened date?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 17:05:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4794772#M183513</guid>
      <dc:creator>wardy912</dc:creator>
      <dc:date>2025-08-12T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4798183#M183596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you &amp;nbsp;for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475583" data-lia-user-login="wardy912" class="lia-mention lia-mention-user"&gt;wardy912&lt;/a&gt;&amp;nbsp;, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="645372" data-lia-user-login="techies" class="lia-mention lia-mention-user"&gt;techies&lt;/a&gt;, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;BR /&gt;&lt;BR /&gt;See if your Date table is marked as a Date Table and linked properly to the ticket table using the Opened Date and If the&amp;nbsp; closed / resolution Date is in another table, make sure both tables are related correctly so the formula can read both dates.&lt;/P&gt;
&lt;P&gt;First test the formula without any slicers or extra filters. If it gives correct results, then try adding your group slicer.&lt;/P&gt;
&lt;P&gt;If it still doesn’t work with the group slicer, the formula may need a small change so it keeps that filter active.&lt;BR /&gt;&lt;BR /&gt;Hope this helps if you have any queries we are&amp;nbsp; happy to assist you further.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Harshitha.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 15:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4798183#M183596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-15T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4799457#M183630</link>
      <description>&lt;P&gt;I have three tables:&lt;BR /&gt;1. Open ticket&lt;BR /&gt;2. Closed ticket&lt;BR /&gt;3. Dates&lt;/P&gt;&lt;P&gt;The dates table is marked as dates and linked to Open ticket and Closed ticket via an opening date and resolution date field.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 07:22:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4799457#M183630</guid>
      <dc:creator>rakelvillanueva</dc:creator>
      <dc:date>2025-08-18T07:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4799589#M183635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;,&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question.&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 09:18:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4799589#M183635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-18T09:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: help calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4804401#M183776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1333243" data-lia-user-login="rakelvillanueva" class="lia-mention lia-mention-user"&gt;rakelvillanueva&lt;/a&gt;,&lt;BR /&gt;Just checking in to see if you had a chance to follow up on our earlier conversation. If you're still encountering the issue, please share the sample data so we can assist you with an accurate solution.&lt;/P&gt;
&lt;P&gt;If you have any further questions, feel free to reach out anytime.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Harshitha.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 03:56:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/help-calculation/m-p/4804401#M183776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-22T03:56:18Z</dc:date>
    </item>
  </channel>
</rss>

