<?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: Conditional Formatting not working on all rows in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913103#M12784</link>
    <description>&lt;P&gt;Decimal is a floating point number so it's possible that the actually value is something like 0.00000000001 and when you've formatted it to 2 decimal places it rounds it down to 0.00. If you change your condition so something like "less than 0.004" does that work?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 00:54:16 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2020-01-28T00:54:16Z</dc:date>
    <item>
      <title>Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/912991#M12781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using Power BI Report Server (Sept 2019) I recently set up a calculated measure called Variance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(SUM('ACCT_BAL1'[ACCT_BAL]) - SUM('ACCT_BAL2'[ACCT_BAL]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ACCT_BAL field is formatted as Decimal Number in both tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then set Conditional Formatting on this meaure formatted by Rules based on field Variance:&lt;/P&gt;&lt;P&gt;"If value is 0 number then green background color"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is the Conditional Formatting only works on some of the values equal to zero. Clearly there are other Variance measure values equal to zero but the formatting does not apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this?&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;</description>
      <pubDate>Mon, 27 Jan 2020 22:17:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/912991#M12781</guid>
      <dc:creator>chrisbrigg</dc:creator>
      <dc:date>2020-01-27T22:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913103#M12784</link>
      <description>&lt;P&gt;Decimal is a floating point number so it's possible that the actually value is something like 0.00000000001 and when you've formatted it to 2 decimal places it rounds it down to 0.00. If you change your condition so something like "less than 0.004" does that work?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 00:54:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913103#M12784</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2020-01-28T00:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913663#M12788</link>
      <description>&lt;P&gt;Thank you for the reply,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt; . To test your theory I set the Cond. Formatting rule to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If value is greater than 0 (num) and is less than 1 (num)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the cond. formatting still does not apply to all calculated measure values equalling '0.00'. The cond. formatting is only applied to some&amp;nbsp;calculated measure values equalling '0.00'. I am trying to determing if there is a pattern in those not being formatted.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 13:45:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913663#M12788</guid>
      <dc:creator>chrisbrigg</dc:creator>
      <dc:date>2020-01-28T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913690#M12790</link>
      <description>&lt;P&gt;When reviewing my calculated measure, I realized it was created under a Home Table holding dimension data, not fact data. I changed the Home Table location of the cal. mesure to one of the tables holding the fact data and now the Conditional Formatting works. Does this make sense?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 14:13:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913690#M12790</guid>
      <dc:creator>chrisbrigg</dc:creator>
      <dc:date>2020-01-28T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913986#M12795</link>
      <description>&lt;P&gt;After further developing the same report, I encountered the same problem with conditional formatting not applying to my calculated measure.&lt;/P&gt;&lt;P&gt;To get everything working again, I had to change both decimal numbers fields used in the calculated measure to whole numbers in my queries. This may relate back to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt; reply but I cannot say for sure. It definitely has something to do with the number formatting. I believe I did this before my earlier reply but thought the fix was due to the Home Table of the measure.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:19:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/913986#M12795</guid>
      <dc:creator>chrisbrigg</dc:creator>
      <dc:date>2020-01-28T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/930356#M13013</link>
      <description>&lt;P&gt;This issue came up again recently when the customer asked to see decimal numbers instead of whole numbers. The conditional formatting was again not applying to the correct condtions. For example, my calculated mesaure (deimal number) displayed 0.00 but the conditional formatting did not pick up on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going back to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;statement about the foating decimal, I found that even though the calculated measure displayed "0.00", when I opened up the number of decimal places to 15, I found that true number to be "0.000000000400000". This stemmed from the two source columns used in the calculated measure, which were formatted as 'Decimal Number' in the Query Editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the two source columns used in my calculated measure in Query Editor to Fixed Decimal, which solved my problem. All of the flaoting numbers in the Decimal format were removed and the condtional formatting applies correctly. Took me way longer to figure this out than I'd like to admit but I hope it helps others.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:21:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/930356#M13013</guid>
      <dc:creator>chrisbrigg</dc:creator>
      <dc:date>2020-02-12T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/2849926#M27089</link>
      <description>&lt;P&gt;I finally discovered this is caused by some columns being set to somethign other than 'Don't Summarize'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In circumstances where the columns to be summarized are blank, this causes an error, which somehow causes the conditional formatting to fail (even where the formatting is being done on another column). Clearly an error within the application.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 21:43:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/2849926#M27089</guid>
      <dc:creator>SamiP</dc:creator>
      <dc:date>2022-10-18T21:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting not working on all rows</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/2849935#M27090</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458575" data-lia-user-login="SamiP" class="lia-mention lia-mention-user"&gt;SamiP&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I finally discovered this is caused by some columns being set to somethign other than 'Don't Summarize'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In circumstances where the columns to be summarized are blank, this causes an error, which somehow causes the conditional formatting to fail (even where the formatting is being done on another column). Clearly an error within the application.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I just tried to reproduce this and I cannot, the conditional formatting works fine for me regardless of the presence of any blanks in an aggregated column. Are you able to reproduce this in an example file that you can share?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 22:03:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Conditional-Formatting-not-working-on-all-rows/m-p/2849935#M27090</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-10-18T22:03:03Z</dc:date>
    </item>
  </channel>
</rss>

