<?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: Edit Table with Calculation Items in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4861080#M63592</link>
    <description>&lt;P&gt;Hi, did you switch the measures in columns to rows in a Matrix visual? If so, please refer to the settings below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaleT_0-1761690830624.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1306102i12418011F9FF97FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaleT_0-1761690830624.png" alt="DaleT_0-1761690830624.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 22:34:06 GMT</pubDate>
    <dc:creator>DaleT</dc:creator>
    <dc:date>2025-10-28T22:34:06Z</dc:date>
    <item>
      <title>Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4860909#M63589</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;BR /&gt;I have a table where all of the rows are Calulation Items. So &lt;STRONG&gt;Job Stars&lt;/STRONG&gt; is One Calc.item&lt;STRONG&gt;, Job Starrd YouthHSN&lt;/STRONG&gt; in onther Calc. Item, etc.&amp;nbsp; Each Caculated Item is equal to a unique measure.&lt;BR /&gt;I want to to color the rows so it's easies to see subgroups in the table (eg brlow)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlissaStuart_1-1761674678811.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1306058iDA3A1FB831310443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlissaStuart_1-1761674678811.png" alt="AlissaStuart_1-1761674678811.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to do it?&lt;BR /&gt;I think maybe I can set a colout into each measure.&amp;nbsp;&lt;BR /&gt;For example this is my measure is&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;Job Starts =&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'XX'&lt;/SPAN&gt;&lt;SPAN&gt;[Plan Item ID]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'XX'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'XX'&lt;/SPAN&gt;&lt;SPAN&gt;[Working]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"yes"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Anyway I can add a colour code to this measure?&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 18:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4860909#M63589</guid>
      <dc:creator>AlissaStuart</dc:creator>
      <dc:date>2025-10-28T18:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4861080#M63592</link>
      <description>&lt;P&gt;Hi, did you switch the measures in columns to rows in a Matrix visual? If so, please refer to the settings below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaleT_0-1761690830624.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1306102i12418011F9FF97FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaleT_0-1761690830624.png" alt="DaleT_0-1761690830624.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4861080#M63592</guid>
      <dc:creator>DaleT</dc:creator>
      <dc:date>2025-10-28T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4861211#M63594</link>
      <description>&lt;P&gt;I whish it was that simple, But because I'm using&amp;nbsp;Caculated Item there is no such option&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 04:21:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4861211#M63594</guid>
      <dc:creator>AlissaStuart</dc:creator>
      <dc:date>2025-10-29T04:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4862962#M63624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380600"&gt;@AlissaStuart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft fabric community forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your rows are generated from a calculation group, the Matrix can't directly apply color to the row headers. However, you can still achieve clear row banding by coloring the values according to the calculation item in each row. To do this, create a simple color measure that checks the selected calc item (using SELECTEDVALUE('Calc Group'[Name])) and returns a hex color with a SWITCH statement, assigning each item or subgroup a specific color. To handle totals, use IF(NOT ISINSCOPE('Calc Group'[Name]), BLANK(), &amp;lt;color&amp;gt;). Then, in the Matrix, use Conditional formatting - Background color - Field value and select this color measure for the Values/Totals. This will shade each data row by calc item, giving you the subgroup highlights you want without changing your calc group setup. If you have many items, consider adding a [Subgroup] column to the calc group table and use it in your SWITCH to keep color assignments organized.&lt;/P&gt;
&lt;P&gt;&lt;A title="https://learn.microsoft.com/en-us/power-bi/transform-model/calculation-groups" href="https://learn.microsoft.com/en-us/power-bi/transform-model/calculation-groups" target="_blank" rel="noreferrer noopener"&gt;Create calculation groups in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps. Please reach out for further assistance.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 02:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4862962#M63624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-10-31T02:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4864432#M63645</link>
      <description>&lt;P&gt;Thatnk you for your answer, but I'm still a bit confused about the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, here is what my Calculation Group looks like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="legenda689_2-1762117711148.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1307039iE3B15FE656DD430B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="legenda689_2-1762117711148.png" alt="legenda689_2-1762117711148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;so&amp;nbsp; if I understood correctly my script will begin with something like this (I wrote it only for one vale so far)?&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;Conditional Format =&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calculation group'&lt;/SPAN&gt;&lt;SPAN&gt;[Calculation group column]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;[Job Starts]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"#72c197"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"#72c177"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;BR /&gt;But when I apply to the table via following method nothing happens to the table.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="legenda689_1-1762117657955.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1307038i7EAE246D4AEC864D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="legenda689_1-1762117657955.png" alt="legenda689_1-1762117657955.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think my mistake is using [ ] to select job start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help again?&amp;nbsp;&lt;BR /&gt;Thank you,&amp;nbsp;&lt;BR /&gt;Alissa&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 02 Nov 2025 21:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4864432#M63645</guid>
      <dc:creator>legenda689</dc:creator>
      <dc:date>2025-11-02T21:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4866607#M63700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/644194"&gt;@legenda689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The behavior you're experiencing is normal, as calculation items cannot be referenced using [MeasureName]. Instead, in a calculation group, you should compare against the calculation item name text. Please modify your color measure so that the SWITCH function checks the item names as listed in your Calculation Items.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Conditional Format =
SWITCH(
    SELECTEDVALUE( 'Calculation group'[Calculation group column] ),
    "Job Starts", "#72c197",
    "Job Starts YouthHSN", "#FFFF66",
    BLANK()
)
&lt;/LI-CODE&gt;
&lt;P&gt;Once you've updated the measure, navigate to Conditional Formatting &amp;gt; Background color &amp;gt; Field Value and choose this measure. This will return the correct color hex based on the selected calculation item, allowing the matrix to apply row shading as intended.&lt;/P&gt;
&lt;P&gt;This method will ensure that row-level coloring functions properly for calculation groups.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 03:42:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4866607#M63700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-11-05T03:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4866608#M63701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380600"&gt;@AlissaStuart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. If you still require support, please let us know, we are happy to assist you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 03:44:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4866608#M63701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-11-05T03:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table with Calculation Items</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4869788#M63745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/644194"&gt;@legenda689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?&lt;BR /&gt;If you still require support, please let us know, we are happy to assist you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2025 08:54:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Edit-Table-with-Calculation-Items/m-p/4869788#M63745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-11-08T08:54:20Z</dc:date>
    </item>
  </channel>
</rss>

