<?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: Dynamic Total Measure Dependent on Selected Parameters ? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807563#M183882</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Average score: = 
VAR _result =
    AVERAGE ( survey[Value] )
VAR _slicerselect =
    VALUES ( slicer_question[Question] )
RETURN
    IF (
        HASONEVALUE ( question[Question] ),
        _result,
        AVERAGEX (
            FILTER ( VALUES ( question[Question] ), question[Question] IN _slicerselect ),
            CALCULATE ( AVERAGE ( survey[Value] ) )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2025 04:12:20 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2025-08-26T04:12:20Z</dc:date>
    <item>
      <title>Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807282#M183874</link>
      <description>&lt;P&gt;So I have survey data and for each question/column I have created measure that finds the average. See below for example. My question is, I created a parameter that has each measure so a user is able to select from a slicer which questions they care about and see the scores related to the questions they care about. But I have one issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it possible to create a measure that dynamically finds the total average of those selected values/questions they select from the slicer ? So if one user only cares about Activities and Cleanliness the Total Average measure would only look at those two measures and so on.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Activities&lt;/TD&gt;&lt;TD&gt;Cleanliness&lt;/TD&gt;&lt;TD&gt;Courtesy&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;Total Average&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Property 1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;3.00&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Property 3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;3.67&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 25 Aug 2025 19:26:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807282#M183874</guid>
      <dc:creator>Last_Resort_22</dc:creator>
      <dc:date>2025-08-25T19:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807304#M183875</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;Yes, that is certainly possible to do. However, it is difficult to know the exact solution without additional information. If your slicer affects your matrix visual then this should happen automatically. Since that apparently is not occurring then something else must be going on. What is the formula for your Total Average measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 20:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807304#M183875</guid>
      <dc:creator>GeraldGEmerick</dc:creator>
      <dc:date>2025-08-25T20:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807423#M183879</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;,in your case, not necessary to use a parameter. i providing you one senario and hope this can be help:&lt;BR /&gt;load your data in power BI, select category and then unpivot other columns.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;projection your category to have a seperate table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;make this category an relationship one to many to survery table attibute.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;create a measure call total average:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Average =&lt;/SPAN&gt; &lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Survey&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Survey&lt;/SPAN&gt;&lt;SPAN&gt;[Value]&lt;/SPAN&gt;&lt;SPAN&gt;), put category table to a slicer. and you can slice what you want&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;above solution for your reference.&lt;/P&gt;&lt;P&gt;best regards.&lt;BR /&gt;marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Aug 2025 01:23:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807423#M183879</guid>
      <dc:creator>MarcoSparkBI</dc:creator>
      <dc:date>2025-08-26T01:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807563#M183882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Average score: = 
VAR _result =
    AVERAGE ( survey[Value] )
VAR _slicerselect =
    VALUES ( slicer_question[Question] )
RETURN
    IF (
        HASONEVALUE ( question[Question] ),
        _result,
        AVERAGEX (
            FILTER ( VALUES ( question[Question] ), question[Question] IN _slicerselect ),
            CALCULATE ( AVERAGE ( survey[Value] ) )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 04:12:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807563#M183882</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-08-26T04:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807600#M183884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1302605" data-lia-user-login="MarcoSparkBI" class="lia-mention lia-mention-user"&gt;MarcoSparkBI&lt;/a&gt;&amp;nbsp; response meets your requirements and addresses the need. Please review it and let us know if any changes are needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the clear explanation &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1302605" data-lia-user-login="MarcoSparkBI" class="lia-mention lia-mention-user"&gt;MarcoSparkBI&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yugandhar&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 05:24:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4807600#M183884</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-08-26T05:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4812844#M184032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I wanted to check in regarding your issue. Has it been resolved, or do you need any further information. Let me know if you’d like more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 05:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4812844#M184032</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-09-01T05:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4815022#M184127</link>
      <description>&lt;P&gt;Is it possible to create a measure with the functionality I mentioned when my model is basically a flat file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Or do I have to create tables and connect them the way your example shows?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 21:52:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4815022#M184127</guid>
      <dc:creator>Last_Resort_22</dc:creator>
      <dc:date>2025-09-02T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4817672#M184202</link>
      <description>&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV id="bodyDisplay_735de1501f0e72_37704" class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Sorry for the delayed reply. Thank you for providing the details of your model. You don’t need to create extra dimension tables to get this functionality. With your flat file structure, you can create a measure that will dynamically average only the questions selected in your slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Sep 2025 10:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4817672#M184202</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-09-08T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4818397#M184215</link>
      <description>&lt;P&gt;I have switched my method and am using an unpivoted table now. This method didn't work but granted I didn't provide a copy of the PBIX file so I undertstand I'm limiting the odds of an answer.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 16:30:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4818397#M184215</guid>
      <dc:creator>Last_Resort_22</dc:creator>
      <dc:date>2025-09-05T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4819928#M184242</link>
      <description>&lt;P&gt;Thank you for the update. I appreciate your perspective. Switching to an unpivoted table seems reasonable for managing dynamic data.&lt;/P&gt;
&lt;P&gt;As you mentioned, it's difficult to give a specific answer without the PBIX file. If you can share a simplified version, a screenshot of your query steps, or the DAX logic, it would help provide more accurate suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your effort.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 10:51:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4819928#M184242</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-09-08T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Total Measure Dependent on Selected Parameters ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4823138#M184324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339120" data-lia-user-login="Last_Resort_22" class="lia-mention lia-mention-user"&gt;Last_Resort_22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you are still working on this or need any help, please share a simplified PBIX file, DAX logic, or the query steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I look forward to hearing from you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Yugandhar&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 06:14:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Total-Measure-Dependent-on-Selected-Parameters/m-p/4823138#M184324</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-09-11T06:14:17Z</dc:date>
    </item>
  </channel>
</rss>

