<?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: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888606#M186127</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1441375" data-lia-user-login="mkb123" class="lia-mention lia-mention-user"&gt;mkb123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Alternative Product Tooltip =
VAR SelectedProduct =
    SELECTEDVALUE( Materials[Name] )

VAR SelectedCategory =
    SELECTEDVALUE( Materials[ProductHierarchy1] )

VAR SelectedGrossMargin =
    CALCULATE( [Gross Margin], Materials[Name] = SelectedProduct )

VAR SelectedActual =
    CALCULATE( [Actual], Materials[Name] = SelectedProduct )

RETURN
SUMX(
    CALCULATETABLE(
        SUMMARIZE(
            ALL( Materials ),                     -- remove product filter
            Materials[ProductHierarchy1],        -- keep category structure
            Materials[Name],                     -- list all products
            "Variance",
                DIVIDE( [Gross Margin], [Actual] )
                * SelectedActual
                - SelectedGrossMargin
        ),
        Materials[ProductHierarchy1] = SelectedCategory,  -- reapply only category filter
        Materials[Name] &amp;lt;&amp;gt; SelectedProduct                -- EXCLUDE selected product
    ),
    [Variance]
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 28 Nov 2025 19:35:06 GMT</pubDate>
    <dc:creator>anilelmastasi</dc:creator>
    <dc:date>2025-11-28T19:35:06Z</dc:date>
    <item>
      <title>DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888542#M186122</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping someone in the community will be able to help on an issue I am facing with DAX and Tooltips.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The aim:&lt;/P&gt;&lt;P&gt;To build a tooltip using a DAX measure which removes all filter consideration. This is required on a bar chart that shows product by Cost Amount - I need to scroll on a specific product to showcase a tooltip that will list alternative products for the specific category and their cost. For example, the bar chart will show 'Cheese &amp;amp; Onion Crisp', the tooltip should show all alternative Crisp Products and its Cost Amount + Variance Cost from the selected Product. This will show us area of opportunity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;Currently when I scroll on the Product, the tooltip filters to the Product, not the alternative Products with the Category.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone had a similar issue to this? Is it a DAX issue or tooltip issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any support will be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:20:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888542#M186122</guid>
      <dc:creator>mkb123</dc:creator>
      <dc:date>2025-11-28T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888606#M186127</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1441375" data-lia-user-login="mkb123" class="lia-mention lia-mention-user"&gt;mkb123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Alternative Product Tooltip =
VAR SelectedProduct =
    SELECTEDVALUE( Materials[Name] )

VAR SelectedCategory =
    SELECTEDVALUE( Materials[ProductHierarchy1] )

VAR SelectedGrossMargin =
    CALCULATE( [Gross Margin], Materials[Name] = SelectedProduct )

VAR SelectedActual =
    CALCULATE( [Actual], Materials[Name] = SelectedProduct )

RETURN
SUMX(
    CALCULATETABLE(
        SUMMARIZE(
            ALL( Materials ),                     -- remove product filter
            Materials[ProductHierarchy1],        -- keep category structure
            Materials[Name],                     -- list all products
            "Variance",
                DIVIDE( [Gross Margin], [Actual] )
                * SelectedActual
                - SelectedGrossMargin
        ),
        Materials[ProductHierarchy1] = SelectedCategory,  -- reapply only category filter
        Materials[Name] &amp;lt;&amp;gt; SelectedProduct                -- EXCLUDE selected product
    ),
    [Variance]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Nov 2025 19:35:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888606#M186127</guid>
      <dc:creator>anilelmastasi</dc:creator>
      <dc:date>2025-11-28T19:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888628#M186129</link>
      <description>&lt;P&gt;Read about REMOVEFILTERS() - that should allow you to accomplish your goal.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 20:42:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4888628#M186129</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-11-28T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4889321#M186150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reason for issue:&lt;BR /&gt;The tooltip is inheriting the &lt;STRONG&gt;product filter context, so it only shows the hovered product.&lt;BR /&gt;To list &lt;STRONG&gt;alternative products in the same category, you need to &lt;STRONG&gt;remove the Product filter but &lt;STRONG&gt;keep the Category filter.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;DAX Solution:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Tooltip Products = CALCULATETABLE ( VALUES ( Products[ProductName] ), ALLEXCEPT ( Products, Products[Category] ) ) Tooltip Cost = CALCULATE ( SUM ( Sales[CostAmount] ), ALLEXCEPT ( Products, Products[Category] ) ) Variance vs Selected = CALCULATE ( SUM ( Sales[CostAmount] ), ALLEXCEPT ( Products, Products[Category] ) ) - SELECTEDVALUE ( Sales[CostAmount] )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;Tip:&lt;BR /&gt;Use &lt;STRONG&gt;ALLEXCEPT to keep only Category context.&lt;BR /&gt;This way, the tooltip will show &lt;STRONG&gt;all other products in that category, along with their cost and variance against the hovered product.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1441375" data-lia-user-login="mkb123" class="lia-mention lia-mention-user"&gt;mkb123&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 05:40:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4889321#M186150</guid>
      <dc:creator>Nabha-Ahmed</dc:creator>
      <dc:date>2025-12-01T05:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4892457#M186217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1441375" data-lia-user-login="mkb123" class="lia-mention lia-mention-user"&gt;mkb123&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt;"&gt;&lt;SPAN&gt;I would also take a moment to thank&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718078" data-lia-user-login="anilelmastasi" class="lia-mention lia-mention-user"&gt;anilelmastasi&lt;/a&gt;&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Community Support Team.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 05:20:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4892457#M186217</guid>
      <dc:creator>v-hjannapu</dc:creator>
      <dc:date>2025-12-04T05:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure Used within Tooltip - Needs to Remove Filter Context when Using on a Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4895378#M186308</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1441375" data-lia-user-login="mkb123" class="lia-mention lia-mention-user"&gt;mkb123&lt;/a&gt;,&lt;BR /&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Community Support Team.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 04:26:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-Used-within-Tooltip-Needs-to-Remove-Filter-Context/m-p/4895378#M186308</guid>
      <dc:creator>v-hjannapu</dc:creator>
      <dc:date>2025-12-08T04:26:05Z</dc:date>
    </item>
  </channel>
</rss>

