<?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 KPI Card Behaviour Changed? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4382356#M173955</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had a Power BI Report that I've been using for about a year without issue and for some reason it is no longer filtering correctly on the KPI cards and I can't for the life of me figure out why!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure for the calculation of the % of cases resolved in 1 day:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KPI_Pct_CasesResolved1Day = 
VAR TotalCases = COUNTROWS('Cases')
VAR CasesAge1OrLess = CALCULATE(COUNTROWS('Cases'), 'Cases'[Case Age] &amp;lt;= 1)
VAR Percentage = DIVIDE(CasesAge1OrLess, TotalCases, 0) * 100
RETURN
IF(ISBLANK(Percentage), 0, Percentage)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure for the KPI Card's goal:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KPI_TTR_1 - L3 = 50&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then display that KPI card three times and fitler the card by Resolved Date with Relative date ranges of 30, 60 and 90 days. This has always worked just fine until recently, and the only thing that I changed recently was the Target measure from 25 to 50.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can influence the card with the relative date filter, but the values are only updated when the relative date is recent - i can filter the card up to a relative date range of "In the last 25 Days" but anything higher than that and the values do not update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no other filters in place on the visual or page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is affecting &lt;STRONG&gt;&lt;U&gt;all&lt;/U&gt; &lt;/STRONG&gt;of my KPI cards, not just this measure and I'm worried that I'll have to move to Cards with conditional formatting which would be a lot of effort as the report is around 50 pages with around around 500 KPI cards in use across the whole thing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a known issue? I've struggled to find anything to explain it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I should mention that I tried brand new measures and a completely different dataset and found the same behaviour to occur there.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 11:59:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-01-27T11:59:08Z</dc:date>
    <item>
      <title>KPI Card Behaviour Changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4382356#M173955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had a Power BI Report that I've been using for about a year without issue and for some reason it is no longer filtering correctly on the KPI cards and I can't for the life of me figure out why!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure for the calculation of the % of cases resolved in 1 day:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KPI_Pct_CasesResolved1Day = 
VAR TotalCases = COUNTROWS('Cases')
VAR CasesAge1OrLess = CALCULATE(COUNTROWS('Cases'), 'Cases'[Case Age] &amp;lt;= 1)
VAR Percentage = DIVIDE(CasesAge1OrLess, TotalCases, 0) * 100
RETURN
IF(ISBLANK(Percentage), 0, Percentage)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure for the KPI Card's goal:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KPI_TTR_1 - L3 = 50&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then display that KPI card three times and fitler the card by Resolved Date with Relative date ranges of 30, 60 and 90 days. This has always worked just fine until recently, and the only thing that I changed recently was the Target measure from 25 to 50.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can influence the card with the relative date filter, but the values are only updated when the relative date is recent - i can filter the card up to a relative date range of "In the last 25 Days" but anything higher than that and the values do not update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no other filters in place on the visual or page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is affecting &lt;STRONG&gt;&lt;U&gt;all&lt;/U&gt; &lt;/STRONG&gt;of my KPI cards, not just this measure and I'm worried that I'll have to move to Cards with conditional formatting which would be a lot of effort as the report is around 50 pages with around around 500 KPI cards in use across the whole thing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a known issue? I've struggled to find anything to explain it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I should mention that I tried brand new measures and a completely different dataset and found the same behaviour to occur there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 11:59:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4382356#M173955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-27T11:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Card Behaviour Changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4382444#M173956</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Hi!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try with:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KPI_Pct_CasesResolved1Day = &lt;BR /&gt;VAR TotalCases = COUNTROWS('Cases')&lt;BR /&gt;VAR CasesAge1OrLess = CALCULATE(COUNTROWS('Cases'), 'Cases'[Case Age] &amp;lt;= 1)&lt;BR /&gt;VAR Percentage = DIVIDE(CasesAge1OrLess, TotalCases, 0) * 100&lt;BR /&gt;RETURN&lt;BR /&gt;IF(TotalCases = 0, BLANK(), Percentage)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any change in your output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 12:58:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4382444#M173956</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2025-01-27T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Card Behaviour Changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4384942#M174050</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Thanks for coming back to me and sorry a bit slow - been a day!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No change at all, completely the same behaviour&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 18:02:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4384942#M174050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-28T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Card Behaviour Changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4384947#M174051</link>
      <description>&lt;P&gt;Some other variants of measures that do the same thing on KPI cards... To me it feels like a bug since these were all working and broke at the same time&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KPI_Pct_CasesResolved10Days = 
VAR TotalCases = COUNTROWS('CS.Case')
VAR CasesAge1OrLess = CALCULATE(COUNTROWS('Cases'), 'Cases'[Case Age] &amp;lt;= 10)
RETURN
DIVIDE(CasesAge1OrLess, TotalCases, 0) * 100&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;KPI_Avg_CSAT = 
VAR AvgNPS = AVERAGE('Cases'[Survey Response.Score])
RETURN
IF(ISBLANK(AvgNPS), 0, AvgNPS)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 18:05:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4384947#M174051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-28T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Card Behaviour Changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4389688#M174261</link>
      <description>&lt;P&gt;My problem seems to relate to the trend axis and I found a random and very different forum post where another user ended up using a date field from an unrelated data source in the trend axis, that seems to have worked for me!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 10:26:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/KPI-Card-Behaviour-Changed/m-p/4389688#M174261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-31T10:26:50Z</dc:date>
    </item>
  </channel>
</rss>

