<?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: Measure as Gauge visual filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3089620#M108172</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207275" data-lia-user-login="DataInsights" class="lia-mention lia-mention-user"&gt;DataInsights&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! The second alternative did work for us. We created a calculated column in the fact table and created a slicer for that.&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 07:07:10 GMT</pubDate>
    <dc:creator>bertsolid</dc:creator>
    <dc:date>2023-02-21T07:07:10Z</dc:date>
    <item>
      <title>Measure as Gauge visual filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3081265#M107398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For our sales dep. I'm working on a report in which we compare the signed and expected (hot) deals against the target. The idea is to have slicers in place to select the status of a deal (for example, "signed, won") and to select if the deal is a hot deal or not. If the hot deal slicer is set to "yes", then the result set should show the deals with the selected statusses + all deals with hot deal = yes (regardless the status). So the slicers combined must use "OR" logic instead of the default "AND" logic. I'm trying to visualize the results (from table Query1) in a radial gauge visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make this work I created 2 unlinked tables with the statuses and the hot deal boolean and a measure "FilterMeasure" with the following DAX:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FilterMeasure = CALCULATE((MAX(Query1[Status]) = SELECTEDVALUE(StatusTable[Status])) +
          (MAX(Query1[HotDeal]) = SELECTEDVALUE(HotDealTable[Value])))&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;The idea is to create slicers for the 2 unlinked tables and to add the measure as a visual filter with expression &amp;gt; 0.&lt;BR /&gt;&lt;BR /&gt;The problem is that this approach isn't working for the Gauge visual. I can add the measure as a visual filter to the gauge, but I'm unable to set the parameters:&lt;BR /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;Using the measure as a visual filter on a table is working:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For sure the DAX command isn't correct, but I don't know how to write the DAX for the measure so that it can be used as a visual filter on a gauge visual. Or maybe the a complete different approach to achieve the goal to append records to the result set without considering the selected slicer value.&lt;BR /&gt;&lt;BR /&gt;Hope someone can help me out.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Feb 2023 10:54:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3081265#M107398</guid>
      <dc:creator>bertsolid</dc:creator>
      <dc:date>2023-02-15T10:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Measure as Gauge visual filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3088134#M108055</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="514773" data-lia-user-login="bertsolid" class="lia-mention lia-mention-user"&gt;bertsolid&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are two approaches you might consider. Create a separate measure with the filter logic, and use a Fields parameter to allow the user to toggle between the base measure and the measure with the filter logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could add columns to your fact table that correspond to the two disconnected tables. This would enable you to create relationships (the disconnected tables would become dimension tables in a star schema), allowing you to filter on Hot Deal, for example.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 14:16:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3088134#M108055</guid>
      <dc:creator>DataInsights</dc:creator>
      <dc:date>2023-02-20T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Measure as Gauge visual filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3089620#M108172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207275" data-lia-user-login="DataInsights" class="lia-mention lia-mention-user"&gt;DataInsights&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! The second alternative did work for us. We created a calculated column in the fact table and created a slicer for that.&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 07:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-as-Gauge-visual-filter/m-p/3089620#M108172</guid>
      <dc:creator>bertsolid</dc:creator>
      <dc:date>2023-02-21T07:07:10Z</dc:date>
    </item>
  </channel>
</rss>

