<?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 Conditional Formatting with Calculation Groups in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-with-Calculation-Groups/m-p/3055286#M156665</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help with conditional formatting (icons) when using calculation groups and multiple measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My model:&lt;/P&gt;&lt;P&gt;FactKPIs: DayID, Product, VarA--VarE&lt;/P&gt;&lt;P&gt;DimCalendar: DayID. Fact KPIs linked by DayID&lt;/P&gt;&lt;P&gt;DimProduct: Product to Name. Fact KPIs linked by Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DimDates: WeekendID - used in a slicer to select a week and used in time intelligence calcs, disconnected table&lt;/P&gt;&lt;P&gt;SlicerWeeks: Weeks (1-52) - used in a slicer to select number of weeks and used in time intelligence calcs, disconnected table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measures table. VarA -- VarE which are the sums of the Vars from the Fact table.&amp;nbsp;Plus another measure Dummy (Dummy = BLANK())&lt;/P&gt;&lt;P&gt;I also have two calculation groups:&lt;/P&gt;&lt;P&gt;CalculationGroupTIStatic - This Year, Last Year and YoY calculations&lt;/P&gt;&lt;P&gt;CalculationGroupMeasures - VarA--VarE in a calculation group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a matrix:&lt;/P&gt;&lt;P&gt;Row: ProductName&lt;/P&gt;&lt;P&gt;Columns: CalculationGroupTIStatic &amp;amp;&amp;nbsp;CalculationGroupMeasures&lt;/P&gt;&lt;P&gt;Values: Dummy&lt;/P&gt;&lt;P&gt;It's at this point i hit a brick wall on how to apply conditional formatting to the YoY values only to generate icons (e.g &amp;lt;0%;0%;&amp;gt;0%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly i've created a 2nd matrix&lt;/P&gt;&lt;P&gt;Row: ProductName&lt;/P&gt;&lt;P&gt;Columns:&amp;nbsp;CalculationGroupTIStatic&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values: VarA--VarE&lt;/P&gt;&lt;P&gt;Also at this point stuck how to apply a conditional formatting to the YoY values whilst only creating a single conditional formatting measure (as in the real world example can have significantly more than 5 vars)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read pretty much read all the literature associated with the problem and can't find a solution that fits the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1IyhUm2ED26pRtVhYC0LgonXnHwbDm6it/view?usp=share_link" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1IyhUm2ED26pRtVhYC0LgonXnHwbDm6it/view?usp=share_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 13:43:41 GMT</pubDate>
    <dc:creator>JohnMc7</dc:creator>
    <dc:date>2023-02-01T13:43:41Z</dc:date>
    <item>
      <title>Conditional Formatting with Calculation Groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-with-Calculation-Groups/m-p/3055286#M156665</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help with conditional formatting (icons) when using calculation groups and multiple measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My model:&lt;/P&gt;&lt;P&gt;FactKPIs: DayID, Product, VarA--VarE&lt;/P&gt;&lt;P&gt;DimCalendar: DayID. Fact KPIs linked by DayID&lt;/P&gt;&lt;P&gt;DimProduct: Product to Name. Fact KPIs linked by Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DimDates: WeekendID - used in a slicer to select a week and used in time intelligence calcs, disconnected table&lt;/P&gt;&lt;P&gt;SlicerWeeks: Weeks (1-52) - used in a slicer to select number of weeks and used in time intelligence calcs, disconnected table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measures table. VarA -- VarE which are the sums of the Vars from the Fact table.&amp;nbsp;Plus another measure Dummy (Dummy = BLANK())&lt;/P&gt;&lt;P&gt;I also have two calculation groups:&lt;/P&gt;&lt;P&gt;CalculationGroupTIStatic - This Year, Last Year and YoY calculations&lt;/P&gt;&lt;P&gt;CalculationGroupMeasures - VarA--VarE in a calculation group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a matrix:&lt;/P&gt;&lt;P&gt;Row: ProductName&lt;/P&gt;&lt;P&gt;Columns: CalculationGroupTIStatic &amp;amp;&amp;nbsp;CalculationGroupMeasures&lt;/P&gt;&lt;P&gt;Values: Dummy&lt;/P&gt;&lt;P&gt;It's at this point i hit a brick wall on how to apply conditional formatting to the YoY values only to generate icons (e.g &amp;lt;0%;0%;&amp;gt;0%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly i've created a 2nd matrix&lt;/P&gt;&lt;P&gt;Row: ProductName&lt;/P&gt;&lt;P&gt;Columns:&amp;nbsp;CalculationGroupTIStatic&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values: VarA--VarE&lt;/P&gt;&lt;P&gt;Also at this point stuck how to apply a conditional formatting to the YoY values whilst only creating a single conditional formatting measure (as in the real world example can have significantly more than 5 vars)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read pretty much read all the literature associated with the problem and can't find a solution that fits the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1IyhUm2ED26pRtVhYC0LgonXnHwbDm6it/view?usp=share_link" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1IyhUm2ED26pRtVhYC0LgonXnHwbDm6it/view?usp=share_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 13:43:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-with-Calculation-Groups/m-p/3055286#M156665</guid>
      <dc:creator>JohnMc7</dc:creator>
      <dc:date>2023-02-01T13:43:41Z</dc:date>
    </item>
  </channel>
</rss>

