<?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: RAG Status Applied to Matrix Column and Card Value in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4706351#M61391</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to create the measure as below&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;To note, the only way it would allow me to inlcude the [RAG Score] in the formula was if Table Data without [Account] being included. If [Account] is included I get the following error message&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;Using the formula that worked, it's not quite giving me the right result as for overall result against Cost Centre 20000 I'd expect a result of G rather than A and for Cost Centre 30000 I'd expect a result of A rather than R as shown in my original post. Below is what powerbi returns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I've included the background table data for reference&amp;nbsp;&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;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 May 2025 16:56:17 GMT</pubDate>
    <dc:creator>dids86</dc:creator>
    <dc:date>2025-05-25T16:56:17Z</dc:date>
    <item>
      <title>RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4705872#M61380</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to apply a RAG Status as a column in a matrix and to the callout value in a card.&lt;/P&gt;&lt;P&gt;In my example I'd want the correct status to show against the Cost Centres so 10000 would be R when not expanded, 20000 would be G, 30000 would be A as per below. Then when expanded the correct RAG status per row would show.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However in my matrix it is only taking the first status for the overall Cost Centre totals&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;And also to the card value it just applies A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to achieve my desired outcome do you know?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 12:10:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4705872#M61380</guid>
      <dc:creator>dids86</dc:creator>
      <dc:date>2025-05-24T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4706233#M61386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue you're facing is because Power BI doesn't know how to aggregate text values like "R", "A", or "G" at the group level when the matrix is collapsed, so it simply returns the first value it finds, which leads to incorrect RAG status at the Cost Centre level and in the card visual. To fix this, you need to convert the RAG status into numeric scores and use a measure to calculate the worst-case value based on severity. You can assign scores such as 3 for "R", 2 for "A", and 1 for "G", then use MAXX to determine the worst score in the current filter context and return the corresponding status.&lt;/P&gt;
&lt;P&gt;Start with this calculated column to assign scores:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RAG Score = 
SWITCH([RAG],
    "R", 3,
    "A", 2,
    "G", 1
)
&lt;/LI-CODE&gt;
&lt;P&gt;Then create a measure to calculate the worst RAG in the current context:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Worst RAG Status = 
VAR MaxScore = MAXX(VALUES('YourTable'[Account]), [RAG Score])
RETURN
    SWITCH(MaxScore,
        3, "R",
        2, "A",
        1, "G"
    )
&lt;/LI-CODE&gt;
&lt;P&gt;Replace 'YourTable' with your actual table name. Use Worst RAG Status in your matrix and card visuals. This will ensure that when the matrix is collapsed, it reflects the most severe RAG among all child rows, and the card will also reflect the overall worst status rather than defaulting to the first one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 10:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4706233#M61386</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-05-25T10:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4706351#M61391</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to create the measure as below&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;To note, the only way it would allow me to inlcude the [RAG Score] in the formula was if Table Data without [Account] being included. If [Account] is included I get the following error message&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;Using the formula that worked, it's not quite giving me the right result as for overall result against Cost Centre 20000 I'd expect a result of G rather than A and for Cost Centre 30000 I'd expect a result of A rather than R as shown in my original post. Below is what powerbi returns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I've included the background table data for reference&amp;nbsp;&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;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 16:56:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4706351#M61391</guid>
      <dc:creator>dids86</dc:creator>
      <dc:date>2025-05-25T16:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4707391#M61421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to us on the Microsoft Fabric Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I took sample data based on your screenshots.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please follow below steps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. created calculated column based on below code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;RAG Score = &lt;BR /&gt;SWITCH([RAG],&lt;BR /&gt;"R", 3,&lt;BR /&gt;"A", 2,&lt;BR /&gt;"G", 1&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Created measure based on below DAX .&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;RAG Rollup1 =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;RCount&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;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;"A"&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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; &lt;/SPAN&gt;&lt;SPAN&gt;RCount&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"R"&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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; &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&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;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;3.&amp;nbsp; Drag the required fileds and measures and calculated column into matrix visual.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please find the attached PBIX file.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 May 2025 11:32:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4707391#M61421</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-05-26T11:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4707637#M61424</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1249554" data-lia-user-login="v-dineshya" class="lia-mention lia-mention-user"&gt;v-dineshya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No that hasnt worked unfortunately&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I'd expect the Matrix to show&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But instead the powerbi shows as&amp;nbsp;&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;Without the Account I'd expect is to show as:&amp;nbsp;&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;But instead it shows as:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help with this&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 12:39:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4707637#M61424</guid>
      <dc:creator>dids86</dc:creator>
      <dc:date>2025-05-26T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4709001#M61437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer the output snap.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;RAG Rollup7 =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;RCount&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt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gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;-- all rows are A or G&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ACount&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;GCount&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;-- A only&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ACount&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;RCount&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;GCount&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;-- A and R, no G&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;RCount&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"R"&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;-- fallback to R&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;As per the logic, i have tried all the possible options, but we can't match the exact value you are expecting. It is not possible to match the exact result, which you are expecting.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 May 2025 13:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4709001#M61437</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-05-27T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4714534#M61534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 16:47:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4714534#M61534</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-05-30T16:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4717103#M61576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1249554" data-lia-user-login="v-dineshya" class="lia-mention lia-mention-user"&gt;v-dineshya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I disregard the Account detail and just want to return the RAG status against the Cost Centre totals instead is there a way to do this do you know?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So essentially I'm just looking to bring the R against 10000, G against 20000 and A against 30000&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 14:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4717103#M61576</guid>
      <dc:creator>dids86</dc:creator>
      <dc:date>2025-06-02T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4718390#M61593</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I am trying to resolve your issue, but i tried all the possible approaches . Will give you update as soon as possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 13:02:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4718390#M61593</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-06-03T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4720235#M61616</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please refer the below output snap and attached PBIX file.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accepted Solution"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to assist others. Additionally, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:48:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4720235#M61616</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-06-04T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: RAG Status Applied to Matrix Column and Card Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4724794#M61687</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1281193" data-lia-user-login="dids86" class="lia-mention lia-mention-user"&gt;dids86&lt;/a&gt;&amp;nbsp; ,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 03:56:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RAG-Status-Applied-to-Matrix-Column-and-Card-Value/m-p/4724794#M61687</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-06-09T03:56:42Z</dc:date>
    </item>
  </channel>
</rss>

