<?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 Color based on COUNT for Guage Visual and multiple tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105444#M162920</link>
    <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &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, 17 Aug 2024 23:52:02 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-08-17T23:52:02Z</dc:date>
    <item>
      <title>Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105229#M162915</link>
      <description>&lt;P&gt;I'm trying to show a visual of authorized position for multiple locations vs actual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RESULTS: RED gradient for 'under manned' and GREEN gradient for 'overmanned' and WHITE if authorized equals manned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1: all manning data every name, their job, location, etc (a living document)&lt;/P&gt;&lt;P&gt;Columns: [NAME], [LOCATION], [JOBTITLE], etc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Table2: a set document (that a director might change later based on needs) showing location, jobtitle authorized and paygrade this table includes every one of the 20 job authorizations at each of the locations. &amp;nbsp;So, I might have a total entry of 16 jobcode 3X3A across all locations, but 5 here and 3 there, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Columns: [LOCATION], [JOBTITLE], [PAYGRADE]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current page setup is a slicer to filter by location and 20 GUAGE visuals (newCard would also work if easier) that are each filtered by a COUNT of each of the twenty Table1 and Table2[JOBTITLE] jobs... 3X3A, 3X3B, etc. This gives me two numbers to play with... Authorized and Assigned.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think the tables are linked right as I get the correct results, but...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to have the visual show RED gradient if Assigned is less than Authorized, WHITE if equal, and GREEN gradient if overmanned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've dabbled in DAX, but don't know enough to figure this out from slightly related examples. &amp;nbsp;I've tried creating a new column that would do the count AND show me the difference between authorized and assigned... I'm just kinda stuck looking at a nice page I've created that is just all one color BLUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts??&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thx, -mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 12:41:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105229#M162915</guid>
      <dc:creator>Mmench</dc:creator>
      <dc:date>2024-08-19T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105444#M162920</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &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, 17 Aug 2024 23:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105444#M162920</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-17T23:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105768#M162930</link>
      <description>&lt;P&gt;Thanks... &amp;nbsp;hopefully this works.&lt;/P&gt;&lt;P&gt;I've only listed a few of the jobs on the page with all the gauges, so some of the locations will be blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, instead of BLUR I'd love to see RED for Assigned less than Authorized, White for equal to, and GREEN for Assigned greater than Authorized. If there was a way to make it a gradient based on % that would be super!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;also... Any visual is ok if it works. &amp;nbsp;I've used NewCards instead of guage here, too.&lt;/P&gt;&lt;P&gt;let me know if this doesn't work. &amp;nbsp;Thanks again. -mm&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 12:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105768#M162930</guid>
      <dc:creator>Mmench</dc:creator>
      <dc:date>2024-08-19T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105855#M162934</link>
      <description>&lt;P&gt;Your data model is not in a usable shape&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;which table is the dimension and which is the fact? You may need to have additional dimensions like Location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 23:13:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4105855#M162934</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-18T23:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4106667#M162963</link>
      <description>&lt;P&gt;Hey, thanks. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;AUTHORIZATIONS table is the current allowable number of jobs (SPACES), while the MASTER DATA (FACES) is the positions manned by actual people. &amp;nbsp;Not sure which would be defined as dimension or fact. Spaces vs Faces is the only way I know to describe it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is my whole problem. &amp;nbsp;Maybe I'm in the wrong forum? &amp;nbsp;I hate to say that I don't know what you are asking. &amp;nbsp;Currently they are linked by LOCATION.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Maybe I need a new table for the formula, I really don't know what I need to do first to get what I want. &amp;nbsp;I thought it could be as easy as creating a conditional.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ii hoped there was a &amp;nbsp;formula that I could do something like...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= COUNT(tableA[columnX]-tableB[columnY]), "difference"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IF "difference"&amp;lt;0, "RED" .. &amp;gt;0, "BLUE" .. =0, "WHITE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do appreciate any help or pointing me in a good direction. &amp;nbsp;Thx!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:22:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4106667#M162963</guid>
      <dc:creator>Mmench</dc:creator>
      <dc:date>2024-08-19T10:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4106822#M162971</link>
      <description>&lt;P&gt;Yes, you may want to invest some time into learning the basics of data modeling in Power BI.&amp;nbsp; The Power BI Desktop App has a Help menu with great links to training material.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 12:15:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4106822#M162971</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-19T12:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Color based on COUNT for Guage Visual and multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4107115#M162981</link>
      <description>&lt;P&gt;ANSWERED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a NewMeasure to find the difference and then use THAT as the field to base conditional formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-mm&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 14:23:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Color-based-on-COUNT-for-Guage-Visual-and-multiple/m-p/4107115#M162981</guid>
      <dc:creator>Mmench</dc:creator>
      <dc:date>2024-08-19T14:23:48Z</dc:date>
    </item>
  </channel>
</rss>

