<?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 as string instead of color in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3448129#M44682</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have uploaded a pbix file and the code of a sample visual here:&lt;BR /&gt;&lt;A href="https://github.com/Balogh1Bence/fx" target="_blank"&gt;https://github.com/Balogh1Bence/fx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please open the report and go to edit mode.&amp;nbsp;&lt;BR /&gt;You will see some FX settings on the formatting pane.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have also attached the code a ZIP file. There you can see how they are created.&amp;nbsp;&lt;BR /&gt;I would like to know how can I create similar settings but instead of color I want to use string.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 15:27:48 GMT</pubDate>
    <dc:creator>Balogh1Bence</dc:creator>
    <dc:date>2023-09-26T15:27:48Z</dc:date>
    <item>
      <title>conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3441571#M44600</link>
      <description>&lt;P&gt;hi! I found a nice guide to create conditional formatting.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/conditional-format?tabs=enumerateObjectInstances" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/visuals/conditional-format?tabs=enumerateObjectInstances&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, this shows only the creation of conditional formatting with color. How can I create one that returns a string and not a color?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 13:12:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3441571#M44600</guid>
      <dc:creator>Balogh1Bence</dc:creator>
      <dc:date>2023-09-21T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3444301#M44636</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2023 16:35:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3444301#M44636</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-23T16:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447529#M44672</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="209420" data-lia-user-login="Balogh1Bence" class="lia-mention lia-mention-user"&gt;Balogh1Bence&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a Calculated Column: Create a new calculated column in your data model that contains the string values you want to use for conditional formatting. You can use DAX (Data Analysis Expressions) to create this calculated column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example -&amp;nbsp; &amp;nbsp;StatusText =&lt;BR /&gt;IF([Sales] &amp;gt; 1000, "High", IF([Sales] &amp;gt; 500, "Medium", "Low"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the calculated column (StatusText in this example) instead of the original numeric or date column. You can display this column as-is without any further conditional formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This approach allows you to display strings based on conditions, but it's not dynamic conditional formatting in the sense of changing the appearance of visual elements based on conditions.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:02:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447529#M44672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-26T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447608#M44673</link>
      <description>&lt;P&gt;I have a pbix file that I would like to attach. How can I do that?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:49:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447608#M44673</guid>
      <dc:creator>Balogh1Bence</dc:creator>
      <dc:date>2023-09-26T10:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447733#M44674</link>
      <description>&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 12:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3447733#M44674</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-26T12:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3448129#M44682</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have uploaded a pbix file and the code of a sample visual here:&lt;BR /&gt;&lt;A href="https://github.com/Balogh1Bence/fx" target="_blank"&gt;https://github.com/Balogh1Bence/fx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please open the report and go to edit mode.&amp;nbsp;&lt;BR /&gt;You will see some FX settings on the formatting pane.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have also attached the code a ZIP file. There you can see how they are created.&amp;nbsp;&lt;BR /&gt;I would like to know how can I create similar settings but instead of color I want to use string.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 15:27:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3448129#M44682</guid>
      <dc:creator>Balogh1Bence</dc:creator>
      <dc:date>2023-09-26T15:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3448343#M44685</link>
      <description>&lt;P&gt;you were using a custom visual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see attached&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 17:31:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3448343#M44685</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-26T17:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3449012#M44689</link>
      <description>&lt;P&gt;Yes I know. We are trying to develop a visual that can do the thing I said before.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 06:12:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3449012#M44689</guid>
      <dc:creator>Balogh1Bence</dc:creator>
      <dc:date>2023-09-27T06:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3453023#M44740</link>
      <description>&lt;P&gt;Can you help with this?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 07:24:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3453023#M44740</guid>
      <dc:creator>Balogh1Bence</dc:creator>
      <dc:date>2023-09-29T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting as string instead of color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3453678#M44749</link>
      <description>&lt;P&gt;Please be more specific. Have you looked at my proposal?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 14:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/conditional-formatting-as-string-instead-of-color/m-p/3453678#M44749</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-29T14:20:10Z</dc:date>
    </item>
  </channel>
</rss>

