<?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>DAX Commands and Tips topics</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/bd-p/DAXCommands</link>
    <description>DAX Commands and Tips topics</description>
    <pubDate>Sat, 19 Sep 2026 21:10:56 GMT</pubDate>
    <dc:creator>DAXCommands</dc:creator>
    <dc:date>2026-09-19T21:10:56Z</dc:date>
    <item>
      <title>Distance-Based Location Highlighting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distance-Based-Location-Highlighting/m-p/5367809#M188519</link>
      <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;I’m trying to calculate the distance between the assigned location and the employee’s home location using the latitude and longitude available in this file.&lt;/P&gt;&lt;P&gt;The objective is to identify locations that are within the selected distance range (in kilometres) using a kilometre slicer. I would like the locations that fall within the selected range to be highlighted in green, while all other locations remain grey.&lt;/P&gt;&lt;P&gt;Additionally, I would like the selected location to be highlighted based on the selected City, Employee Location, or StoresDummy[City] value.&lt;/P&gt;&lt;P&gt;I’ve also referred to the following YouTube video for guidance: &amp;nbsp;&lt;A class="lia-external-url" href="https://youtu.be/5nkPRsD-olM?si=9arL2DV4Id3jqhmW" target="_blank"&gt;youtube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could you please help me implement this logic in Power BI/DAX?&lt;BR /&gt;&lt;BR /&gt;&lt;A class="lia-external-url" href="https://1drv.ms/u/c/0b49db32f818eb2d/IQDB003wuMmLSpgRNjVHCFSPASFtxOwFEiUZEtdXzF0MFco?e=3IHmvT" target="_blank"&gt;Sample data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 15:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distance-Based-Location-Highlighting/m-p/5367809#M188519</guid>
      <dc:creator>Swami_om</dc:creator>
      <dc:date>2026-09-18T15:28:14Z</dc:date>
    </item>
    <item>
      <title>Showing working day no instead of calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Showing-working-day-no-instead-of-calendar/m-p/5367499#M188516</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i am facing a challenge where i want to have a bar chart showing daily invoiced sales, but instead of showing calendat day no number on x-axis i want to replace it with working day no.&lt;/P&gt;&lt;P&gt;Data model setup:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Base model: Tabular (storage mode: mixed)&lt;BR /&gt;tables and dimensions used:&lt;BR /&gt;'Calendar'[ID] - linked to transaction table through a many to one relationship&lt;BR /&gt;'Calendar'[day no] - this is what i currently use on my x-axis. This is simply showing day number 1-30 depending on the selected fiscal year and fiscal month&lt;BR /&gt;'Calendar'[Fiscal Year] - used in dropdown to filter on fiscal year. runs from 1 july - 30 june&lt;BR /&gt;'Calendar'[Fiscal Month] - used in dropdown to filter on fiscal month. runs from 1 july - 30 june&lt;BR /&gt;'Global Measures'[Invoiced Amount]&lt;/P&gt;&lt;P&gt;Requirements:&lt;BR /&gt;Create a field to the calendar table return Working day no depending on the selected fiscal year and month. Working day counts as monday-friday, weekends is NOT a working day. Also public holidays should also not be taken into account. Working day should start counting from the first weekday of the filtered month and start over when a new month begins. Ideally, when using the field on the visual, weekends should be blank. I have tried to illustrate my idea through the snapshot below. The grey bars represent saturday and sunday to clearly distinct weekdays and weekends.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far i havent been able to find a working solution, so i am trying my luck making a post here. If there is any information needed regarding the data model or relationships etc. i will try to elaborate, just let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2026 09:37:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Showing-working-day-no-instead-of-calendar/m-p/5367499#M188516</guid>
      <dc:creator>Nicpet0</dc:creator>
      <dc:date>2026-09-17T09:37:38Z</dc:date>
    </item>
    <item>
      <title>Using LookUpValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-LookUpValue/m-p/5367370#M188514</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created a calculated column and trying to use the LookUpValue function and am receiving the following error&lt;/P&gt;&lt;P&gt;Underlying Error: DataViewMappingError_ConditionNotHierarchicallyRelated&lt;/P&gt;&lt;P&gt;Activity ID: 77181316-2e02-44ea-b104-201ac8d72366&lt;/P&gt;&lt;P&gt;Also, I am getting an error on my visual saying "You are using fields that don't have a supported set of relationships". Not seeing the issue as I have used this LookUpValue function before.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 17:53:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-LookUpValue/m-p/5367370#M188514</guid>
      <dc:creator>greenda4</dc:creator>
      <dc:date>2026-09-16T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Help! explain this measure and why it isn't working consistently!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-explain-this-measure-and-why-it-isn-t-working-consistently/m-p/5365839#M188491</link>
      <description>&lt;P&gt;I have a report that someone else made and they are not seeing some data show in the visuals that they would expect to see. After investigating I found out that the measures are behaving strangely.&lt;/P&gt;&lt;P&gt;Basically there are 3 measures. One determines if there are any items on a SalesOrder that have a synthesisDepartment of "LEU Main - Tubes" :&lt;/P&gt;&lt;LI-CODE lang=""&gt;HasLEUMainTubes = VAR CurrentSalesOrder = MAX('vwOperationsBacklog'[SalesOrder]) RETURN   CALCULATE (       COUNTROWS ( 'vwOperationsBacklog' ),       'vwOperationsBacklog'[SalesOrder] = CurrentSalesOrder,         'vwOperationsBacklog'[SynthesisDepartment] = "LEU Main - Tubes"   )&lt;/LI-CODE&gt;&lt;P&gt;One determines if there are any items on a SalesOrder that have a synthesisDepartment of "LEU Platinum" :&lt;/P&gt;&lt;LI-CODE lang=""&gt;HasLEUPlatinum = VAR CurrentSalesOrder = MAX('vwOperationsBacklog'[SalesOrder]) RETURN   CALCULATE (       COUNTROWS ( 'vwOperationsBacklog' ),       'vwOperationsBacklog'[SalesOrder] = CurrentSalesOrder,         'vwOperationsBacklog'[SynthesisDepartment] = "LEU Platinum"   )&lt;/LI-CODE&gt;&lt;P&gt;And the third measure determines if the SalesOrder has items from both departments:&lt;/P&gt;&lt;LI-CODE lang=""&gt;HasBothLEUMainTubesAndPlatinum =IF (  [HasLEUMainTubes] &amp;gt; 0 &amp;amp;&amp;amp; [HasLEUPlatinum] &amp;gt; 0, 1,  0)&lt;/LI-CODE&gt;&lt;P&gt;The visual is a table that displays a list of SalesOrders that have both Main and Platinum items. However, the users only want to see $ values and specific products that are from Main and have applied a visual level filter of Synthesis Department = "LEU Main - Tubes".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the issue:&amp;nbsp;&lt;/STRONG&gt;In most cases, this works out fine. Example order 9558544 which has 8 items in each of the two departments shows up in my main visual with only $ associated to the Main department. BUT example order 21583399 does &lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;show up in the table even though it has 2 Platinum items and 3 Main items.&amp;nbsp;&lt;/P&gt;&lt;img&gt;example of main visual displaying order 9558544 as expected with SynthesisDept filter set to LEU Main - Tubes&lt;/img&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a quick look at these 2 orders and the results of the 3 measures below (separated by Synth Dept)&lt;/P&gt;&lt;img /&gt;&lt;P&gt;As soon as I apply a visual level filter to that same table (setting Dept = Leu Main - Tubes), this is the result:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHY DOES ONE ORDER WORK DIFFERENTLY FROM THE OTHER?????&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I also know I could probably come up with a better way of doing this (I did not develop these measures, a user did) but I ultimately want to know why it functions like this.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2026 20:11:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-explain-this-measure-and-why-it-isn-t-working-consistently/m-p/5365839#M188491</guid>
      <dc:creator>aallman</dc:creator>
      <dc:date>2026-09-09T20:11:50Z</dc:date>
    </item>
    <item>
      <title>( DAX Condicional )Definir Ancho (Px) de una Matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Condicional-Definir-Ancho-Px-de-una-Matriz/m-p/5365379#M188488</link>
      <description>&lt;P&gt;¡Hola comunidad!&lt;/P&gt;&lt;P&gt;Estoy probando la nueva función de control dinámico de ancho de columnas (fx) de la actualización de agosto en Power BI, pero tengo problemas al aplicarla en una Matriz con 3 niveles de jerarquía en columnas.Mi objetivo es que la columna llamada "|" (ubicada en el tercer nivel) tenga un ancho de 10 Px, y todas las demás columnas tengan 100 Px.&lt;/P&gt;&lt;P&gt;He intentado condicionar el ancho con medidas DAX usando funciones de contexto (como ISINSCOPE), pero la matriz no reacciona en el tercer nivel y la condicional se ignora. Parece que la propiedad de ancho dinámico evalúa a nivel global o del campo principal, perdiendo el contexto en subniveles profundos.&lt;/P&gt;&lt;P&gt;¿Alguien ha logrado hacer funcionar el formato condicional de ancho en un tercer nivel de jerarquía? ¿Existe alguna limitación documentada o algún workaround eficiente que no requiera ajustar el tamaño manualmente?¡Agradezco su ayuda!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 23:34:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Condicional-Definir-Ancho-Px-de-una-Matriz/m-p/5365379#M188488</guid>
      <dc:creator>AldahirGóngoraP</dc:creator>
      <dc:date>2026-09-07T23:34:32Z</dc:date>
    </item>
    <item>
      <title>Performance / Size implications of BLANK() vs 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-Size-implications-of-BLANK-vs-0/m-p/5365315#M188485</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a question concerning how BLANKS are handled in Semantic models.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a DAX table that I'm creating using UNION and select tables (Yes, I have to do it in DAX and not in M).&amp;nbsp;&lt;/P&gt;&lt;P&gt;In some cases, my the columns in my "Selectcolumns" need to be empty or set to 0 (Double).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an reason to choose one over the other ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I understand from this article :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="lia-external-url" href="https://www.sqlbi.com/articles/blank-handling-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/blank-handling-in-dax/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both 0 and Blank seem to be handled the same way; as in "BLANK" is converted to 0 during compute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By using Blank I thought there would be less memory usage, but I don't really see it.&lt;/P&gt;&lt;P&gt;In fact, when I use the VertipackAnalyser in DAX Studio, sometimes leaving a column full of 0 is better than putting blanks everywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is BLANK() stored differently than 0.0&amp;nbsp; in a semantic model ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a SUM, are BLANK rows skipped, or are they still converted to 0 ?&lt;/P&gt;&lt;P&gt;Has someone ever done the experiment ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;At which point does this question really start to matter ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 14:19:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-Size-implications-of-BLANK-vs-0/m-p/5365315#M188485</guid>
      <dc:creator>Devs</dc:creator>
      <dc:date>2026-09-07T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Last 3 months calculation not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-3-months-calculation-not-working/m-p/5364873#M188478</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am working on logic for last 3 months logic. after SKU all are measures.&lt;/P&gt;&lt;P&gt;"V4Cast ESF WD9 Lag3" is forecast and actual detail table is actual.&lt;/P&gt;&lt;P&gt;"DVMI_Forecast_error" is Forecast - Actuals.&lt;/P&gt;&lt;P&gt;"DVMI_Forecast_error_ABS" is Absolute value of DVMI_Forecast_error.&lt;/P&gt;&lt;P&gt;"Total Last 3 Months" non absolute Last 3 months calculation of every month for DVMI_Forecast_error and its working accurate.&lt;/P&gt;&lt;P&gt;when i apply same logic on "ABS Total Last 3 Months" by using "DVMI_Forecast_error_ABS" its not working.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;logic used&amp;nbsp;&lt;/P&gt;&lt;P&gt;ABS Total Last 3 Months =&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp;[DVMI_Forecast_Error_ABS],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; DATESINPERIOD(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'DimDate'[Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LASTDATE('DimDate'[Date]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MONTH&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2026 17:53:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-3-months-calculation-not-working/m-p/5364873#M188478</guid>
      <dc:creator>chlimaye</dc:creator>
      <dc:date>2026-09-04T17:53:48Z</dc:date>
    </item>
    <item>
      <title>% calculations in a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculations-in-a-matrix/m-p/5364655#M188474</link>
      <description>&lt;P&gt;Good afternoon ,&lt;/P&gt;&lt;P&gt;I wonder if someone could help me with a DAX query i am having issues with to show the % of parent at two levels.&lt;/P&gt;&lt;P&gt;I can get the calculations to work individually but when i put them both together (% Combined) the top level % is all showing 100%&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;M_referrals is a count of rows in the table used&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang=""&gt;% of parent  group =  var ParentTotal =      CALCULATE(             [M_Referrals],             Allexcept(Referral,Referral[OUTCOME_DURATION_GROUP])     ) return if(     ISINSCOPE(Referral[REFERRAL_SLA_GROUP]),     DIVIDE([M_Referrals],ParentTotal) )&lt;/LI-CODE&gt;&lt;LI-CODE lang=""&gt;% of parent SLA group =  var ParentTotal =      CALCULATE(             [M_Referrals],             Allexcept(Referral,Referral[REFERRAL_SLA_GROUP])     ) return if(     ISINSCOPE(Referral[OUTCOME_DURATION_GROUP]),     DIVIDE([M_Referrals],ParentTotal) )&lt;/LI-CODE&gt;&lt;LI-CODE lang=""&gt;% Combined =  var ParentTotal =      CALCULATE(             [M_Referrals],             Allexcept(Referral,Referral[REFERRAL_SLA_GROUP])             ) var SubCat_Total =      CALCULATE(             [M_Referrals],             Allexcept(Referral,Referral[OUTCOME_DURATION_GROUP])     ) var RatioToParent =      if(         ISINSCOPE(Referral[REFERRAL_SLA_GROUP]),         divide([M_Referrals],ParentTotal),         if(             ISINSCOPE(Referral[OUTCOME_DURATION_GROUP]),             divide([M_Referrals],SubCat_Total)         )     ) Return RatioToParent&lt;/LI-CODE&gt;&lt;P&gt;If anyone could point me in the right direction that would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Next issue will also be to add a Month into the columns, if you could give some advice on this that would be great too thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 16:21:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculations-in-a-matrix/m-p/5364655#M188474</guid>
      <dc:creator>Dunnes32</dc:creator>
      <dc:date>2026-09-03T16:21:37Z</dc:date>
    </item>
    <item>
      <title>Weight in survey data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weight-in-survey-data/m-p/5362594#M188453</link>
      <description>&lt;P&gt;I have a large amount of data from two surveys and i'm struggling with calculating certain percentages. I've tried to simplify it a lot here, but it does require a long setup.&lt;BR /&gt;&lt;BR /&gt;In the data every respondent has been given an individual weight, so that for instant respondents in an age group with few respondents might count for a bit more than those in other age groups. Therefor in a given answer, it is not number of respondents but the sum of their weight that's the relevant.&lt;BR /&gt;The table for respondents look something like this, but with many more columns.:&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;STRONG&gt;'Respondents'&lt;/STRONG&gt;&lt;BR /&gt;&lt;table border="1" style="width: 43.4175%; height: 140px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 33.3981%" /&gt;&lt;col style="width: 33.3981%" /&gt;&lt;col style="width: 33.1351%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;ID&lt;/td&gt;&lt;td&gt;Age&lt;/td&gt;&lt;td&gt;Weight&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;55&lt;/td&gt;&lt;td&gt;0,7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;17&lt;/td&gt;&lt;td&gt;1,2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;21&lt;/td&gt;&lt;td&gt;1,1&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;For quite a few questions the respondents could answer by choosing several options for instance "Which of the following options are you familiar with: A, B, C...". This give a tabel like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 36.3371%; height: 128px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 25.0798%" /&gt;&lt;col style="width: 25.0798%" /&gt;&lt;col style="width: 25.0798%" /&gt;&lt;col style="width: 25.0798%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;ID&lt;/td&gt;&lt;td&gt;Uses A&lt;/td&gt;&lt;td&gt;Uses B&lt;/td&gt;&lt;td&gt;Uses C&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;The only way I can count those replies is by copying the table, remove unnecessary columns and unpivot columns A, B, C, so I get the following table which is related to the respondent tabel by ID:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;STRONG&gt;'Q1_Options' tabel&lt;/STRONG&gt;&lt;BR /&gt;&lt;table border="1" style="width: 54.2385%; height: 107px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 33.2766%" /&gt;&lt;col style="width: 33.2766%" /&gt;&lt;col style="width: 33.2766%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;ID&lt;/td&gt;&lt;td&gt;Uses&lt;/td&gt;&lt;td&gt;Weight&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;B&lt;/td&gt;&lt;td&gt;0,9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;C&lt;/td&gt;&lt;td&gt;0,9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;1,3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;C&lt;/td&gt;&lt;td&gt;1,3&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;However, not all respondents have been asked all questions. So when calculating how many percentage answered yes to an option, the sum of weight of those answers should be held op against the collected weight of only those respondents, that have been asked the question.&lt;BR /&gt;&lt;BR /&gt;In the example here the weight of for instance option A is 1,3.&amp;nbsp;&lt;BR /&gt;The collective weight of the respondents who have been askes the question (ID 1 and 3) is 1,8&amp;nbsp;&lt;BR /&gt;1,3 / 1,8 = 72%&lt;BR /&gt;&lt;BR /&gt;But how do I write a dax query that can calculate the collective sum of only those who replied and where their weight is only counted once, but also is resistant to filters and rows so if can be used in the calculation of percentage?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My best guess so far is this, which doesn't work:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang=""&gt;CALCULATE(          SUM('Respondents'[weight],          TREATAS(              VALUES('Q1_Options'[ID]),              Respondents[ID]          )         ,ALL('Options-table') )&lt;/LI-CODE&gt;&lt;P&gt;It does return the right total, but when I put it in a matix it just calculates the weight of the answers, and therefor the percentage just returns 100% on all. I've also tried with REMOVEFILTERS with no difference.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 12:26:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weight-in-survey-data/m-p/5362594#M188453</guid>
      <dc:creator>Kathrinens</dc:creator>
      <dc:date>2026-08-27T12:26:30Z</dc:date>
    </item>
    <item>
      <title>Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/5362585#M188452</link>
      <description>&lt;P&gt;Dear Pros,&lt;BR /&gt;&lt;BR /&gt;Need help here&lt;/P&gt;&lt;P&gt;I have a monthly recurring charge (MRC) from multiple customers that continues every month until the end of their contracts. I want to calculate the MRC amount for each month. For example, Customer A starts billing in January and pays $100 every month until the contract ends, while Customer B starts billing in March and pays $50 every month until the end of the contract.&lt;BR /&gt;&lt;BR /&gt;So I want see how much money we have received every month and from which customers.&lt;BR /&gt;Something like this&amp;nbsp;&lt;BR /&gt;Jan - 100&lt;BR /&gt;Feb - 100&lt;BR /&gt;Mar - 100+50&amp;nbsp;&lt;BR /&gt;Apr - 100+50&lt;BR /&gt;.... so on&lt;/P&gt;&lt;P&gt;Note : I don't have the end of the MRC month date but I have the start of the MRC billing and number of billable months in each year&lt;/P&gt;&lt;P&gt;please help with dax&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 12:10:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/5362585#M188452</guid>
      <dc:creator>Lio123</dc:creator>
      <dc:date>2026-08-27T12:10:16Z</dc:date>
    </item>
    <item>
      <title>Power BI DAX Challenge – ALLSELECTED vs Correct Grand Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-DAX-Challenge-ALLSELECTED-vs-Correct-Grand-Total/m-p/5361709#M188451</link>
      <description>&lt;P&gt;I have a fact table with sales document and other columns.&lt;/P&gt;&lt;P&gt;For reporting purposes, I need to display the total Sales Order Weight at the Sales Document level, so I use ALLSELECTED() to ignore the other row context while still respecting report slicers.&lt;/P&gt;&lt;P&gt;Current requirement&lt;/P&gt;&lt;P&gt;Suppose the raw data is:&lt;/P&gt;&lt;P&gt;Sales Document&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;Bill of Lading&lt;/P&gt;&lt;P&gt;Weight&lt;/P&gt;&lt;P&gt;SO1&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;BOL1&lt;/P&gt;&lt;P&gt;600&lt;/P&gt;&lt;P&gt;SO1&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;BOL2&lt;/P&gt;&lt;P&gt;594&lt;/P&gt;&lt;P&gt;I need my report to show:&lt;/P&gt;&lt;P&gt;Sales Document&lt;/P&gt;&lt;P&gt;Bill of Lading&lt;/P&gt;&lt;P&gt;Sales Order Weight&lt;/P&gt;&lt;P&gt;SO1&lt;/P&gt;&lt;P&gt;BOL1&lt;/P&gt;&lt;P&gt;1194&lt;/P&gt;&lt;P&gt;SO1&lt;/P&gt;&lt;P&gt;BOL2&lt;/P&gt;&lt;P&gt;1194&lt;/P&gt;&lt;P&gt;The repeated value is intentional.&lt;/P&gt;&lt;P&gt;Slicer requirement&lt;/P&gt;&lt;P&gt;If the user filters Classification, Material, Delivery, Plant, etc., the measure must respect those slicers.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;If only Item 10 remains after a slicer, the measure should return 600, not 1194.&lt;/P&gt;&lt;P&gt;This is why I'm using ALLSELECTED() instead of REMOVEFILTERS().&lt;/P&gt;&lt;P&gt;The problem&lt;/P&gt;&lt;P&gt;The row values are correct, but the Grand Total is incorrect because the repeated Sales Document weight gets summed multiple times.&lt;/P&gt;&lt;P&gt;The expected total is:&lt;/P&gt;&lt;P&gt;1194&lt;/P&gt;&lt;P&gt;but Power BI returns:&lt;/P&gt;&lt;P&gt;1194 + 1194 = 2388&lt;/P&gt;&lt;P&gt;(or similar duplication depending on the number of Bill of Lading rows).&lt;/P&gt;&lt;P&gt;Current measure (simplified)&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; SUM('Sales&amp;amp;Delivery'[Sales Order Weight of the Item in Grams]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 'Sales&amp;amp;Delivery'[Delivery] &amp;lt;&amp;gt; BLANK(),ALLSELECTED('Sales&amp;amp;Delivery'[BillOfLadingDrvd]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ALLSELECTED('Sales&amp;amp;Delivery'[Delivery]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ALLSELECTED('Sales&amp;amp;Delivery'[Default Plant]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ALLSELECTED('Sales&amp;amp;Delivery'[PlantDelivery]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ALLSELECTED('Sales&amp;amp;Delivery'[ActualGoodsMovementDate]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ALLSELECTED('Sales&amp;amp;Delivery'[Classification])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Things I've already tried&lt;/P&gt;&lt;P&gt;SUMX(VALUES(SalesDocument), ...)&lt;/P&gt;&lt;P&gt;SUMMARIZE()&lt;/P&gt;&lt;P&gt;ALLEXCEPT()&lt;/P&gt;&lt;P&gt;KEEPFILTERS()&lt;/P&gt;&lt;P&gt;TREATAS()&lt;/P&gt;&lt;P&gt;Calculated column approach&lt;/P&gt;&lt;P&gt;Visual Calculations&lt;/P&gt;&lt;P&gt;None of them satisfy all three requirements simultaneously.&lt;/P&gt;&lt;P&gt;Question&lt;/P&gt;&lt;P&gt;How can I write a DAX measure that:&lt;/P&gt;&lt;P&gt;Repeats the Sales Order Weight for every belonging to the same Sales Document.&lt;/P&gt;&lt;P&gt;Respects all report slicers (Material, Classification, Delivery, Plant, etc.).&lt;/P&gt;&lt;P&gt;Produces a Grand Total that counts each Sales Document only once instead of summing the repeated values.&lt;/P&gt;&lt;P&gt;Is there a DAX pattern for this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 02:14:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-DAX-Challenge-ALLSELECTED-vs-Correct-Grand-Total/m-p/5361709#M188451</guid>
      <dc:creator>aayushianand97</dc:creator>
      <dc:date>2026-08-27T02:14:26Z</dc:date>
    </item>
    <item>
      <title>SUMX Not Working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-Not-Working/m-p/5360441#M188436</link>
      <description>&lt;P&gt;I have created a sample dashboard based on the AdventureWorks sample database and I cannot figure out why I cannot get this to work.&amp;nbsp; I can evaluate every VAR throughout except _Result which never works.&amp;nbsp; I have attached a photo of _FilteredTable, which you can see is a very simple table with a total.&lt;/P&gt;&lt;P&gt;(the code snippet is showing up incorrectly, so I've also included a screenshot of the fairly simple code)&lt;/P&gt;&lt;LI-CODE lang="dax"&gt;DEFINE     VAR _TableWithBadNames =         SUMMARIZECOLUMNS  (             'Production ProductCategory'[Name],             'Sales SalesOrderHeader'[OrderDate].[Year],             "@Total", SUM('Sales SalesOrderDetail'[LineTotal])         )     VAR _Table =         SELECTCOLUMNS(             _TableWithBadNames,             "@Category", [Name],             "@Year", [Year],             [@Total]         )     VAR _FilteredTable =         FILTER(_Table, [@Category]="Accessories" &amp;amp;&amp;amp; [@Year]=2011)     VAR _Result =          SUMX(_FilteredTable, [@Total]) EVALUATE     _Result&lt;/LI-CODE&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 15:48:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-Not-Working/m-p/5360441#M188436</guid>
      <dc:creator>ronnie_roberts</dc:creator>
      <dc:date>2026-08-20T15:48:11Z</dc:date>
    </item>
    <item>
      <title>How to compare static table to updated table, find rows that changed?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compare-static-table-to-updated-table-find-rows-that/m-p/5360423#M188435</link>
      <description>&lt;P&gt;At the start of each month, I take a snapshot (TABLE1) of a live data table (TABLE2). TABLE2 has three relevant columns that defines a unique row (Title, Amount, Salesperson), and a fourth column that can change (Date):&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 36.631%; height: 35px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 19.7802%" /&gt;&lt;col style="width: 30.7692%" /&gt;&lt;col style="width: 34.7985%" /&gt;&lt;col style="width: 14.652%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr style="height: 35px;"&gt;&lt;td style="height: 35px;"&gt;Title&lt;/td&gt;&lt;td style="height: 35px;"&gt;Amount&lt;/td&gt;&lt;td style="height: 35px;"&gt;Salesperson&lt;/td&gt;&lt;td&gt;Date&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;The snapshot also adds a "Snapshot date" column. it's relevant headers look like:&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 49.8663%; height: 35px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 9.73872%" /&gt;&lt;col style="width: 16.152%" /&gt;&lt;col style="width: 22.5653%" /&gt;&lt;col style="width: 10.4513%" /&gt;&lt;col style="width: 41.0926%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr style="height: 35px;"&gt;&lt;td style="height: 35px;"&gt;Title&lt;/td&gt;&lt;td style="height: 35px;"&gt;Amount&lt;/td&gt;&lt;td style="height: 35px;"&gt;Salesperson&lt;/td&gt;&lt;td style="height: 35px;"&gt;Date&lt;/td&gt;&lt;td&gt;Snapshot Date&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;There's a table visual to display these snapshot items and a&amp;nbsp;&lt;EM&gt;Year, Month&amp;nbsp;&lt;/EM&gt;slicer (&lt;EM&gt;Relationship: CalenderTable[Date] -&amp;gt; TABLE1[Snapshot Date]&lt;/EM&gt;)&amp;nbsp; to filter the snapshots to only a specific month.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now want to compare these snapshot items to the live data table and have the table visual only show rows where the &lt;STRONG&gt;Date&lt;/STRONG&gt; column changed to a later date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some googling, I created a Measure I can use to filter the table visual to values of "1", but the date comparison doesn't seem to be working right. It's returning some rows where the &lt;STRONG&gt;Date&amp;nbsp;&lt;/STRONG&gt;in TABLE2 was changed to &lt;EM&gt;earlier&lt;/EM&gt; (we don't care about those) than the&amp;nbsp;&lt;STRONG&gt;Date&lt;/STRONG&gt; in TABLE1 and I can't figure out why.&lt;/P&gt;&lt;LI-CODE lang="dax"&gt;Rolled = If( COUNTROWS(     CALCULATETABLE(TABLE2 ,              TABLE2[Name] = SELECTEDVALUE(TABLE1[Name])         &amp;amp;&amp;amp; TABLE2[Amount] = SELECTEDVALUE(TABLE1[Amount])         &amp;amp;&amp;amp; TABLE2[Salesperson] = SELECTEDVALUE(TABLE1[Salesperson])         &amp;amp;&amp;amp; TABLE2[Date] &amp;gt; SELECTEDVALUE(CalendarTable[Date])         )     ) &amp;gt; 0,     1,     0 )&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;Example of wrongly listed TABLE1 row:&lt;/STRONG&gt;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&lt;EM&gt;TABLE2 is not connected by any relationships. I manually applied filters to show the same row to see if the measure worked properly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong or is there a better way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 13:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compare-static-table-to-updated-table-find-rows-that/m-p/5360423#M188435</guid>
      <dc:creator>Cayshin</dc:creator>
      <dc:date>2026-08-21T13:37:42Z</dc:date>
    </item>
    <item>
      <title>Help with DAX and report level filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-and-report-level-filters/m-p/5359759#M188432</link>
      <description>&lt;P&gt;I need to convert the below dax formula to ignore the report level filter of DimSeller[SalesId] but honor the visual level filter of DimSeller[Sales NSAA Region].&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Reservations = var selection = SELECTEDVALUE(DateSelect[SelectId])&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(true(),&lt;BR /&gt;selection = 1, CALCULATE(FactReservation[Res By Res Date]),&lt;BR /&gt;selection = 2, CALCULATE(FactReservation[Res By Check In Date]))&lt;/P&gt;&lt;P&gt;I've tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reservations = var selection = SELECTEDVALUE(DateSelect[SelectId])&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(true(),&lt;BR /&gt;selection = 1, CALCULATE(FactReservation[Res By Res Date], All(DimSeller[Salesid]), KEEPFILTERS(DimSeller[Sales NSAA Region]).... with no luck.&lt;/P&gt;&lt;P&gt;I've also tried creating a second table for the Sales NSAA Region values&amp;nbsp; and using it as the visual level filter but still have not been able to get it ignore the report level filter and keep the visual level filter. The only way I've gotten to work is creating a measure that hardcodes the DimSeller[Sales NSAA Region to the value. However, if I go this route I'll have to create 48 measures so hoping there is a way to get a single measure to work.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2026 23:03:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-and-report-level-filters/m-p/5359759#M188432</guid>
      <dc:creator>jslade</dc:creator>
      <dc:date>2026-08-17T23:03:40Z</dc:date>
    </item>
    <item>
      <title>Comparaison de courbes en S par jalon et par quarter — Quelle architecture DAX ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparaison-de-courbes-en-S-par-jalon-et-par-quarter-Quelle/m-p/5359366#M188423</link>
      <description>&lt;P&gt;Bonjour à tous,&lt;/P&gt;&lt;P&gt;Je travaille sur un rapport Power BI de suivi de production et j'aimerais avoir vos conseils sur l'architecture à adopter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Contexte&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Je suis en train de construire des&amp;nbsp;&lt;STRONG&gt;courbes en S cumulatives&lt;/STRONG&gt;&amp;nbsp;qui mesurent, jour après jour, le pourcentage de SKU-SITE ayant atteint un jalon de production donné. Disons que les jalons suivis sont :&amp;nbsp;&lt;STRONG&gt;Jalon1, Jalon2, Jalon3&lt;/STRONG&gt;. Les données sont organisées par quarters :&amp;nbsp;&lt;STRONG&gt;24Q1, 25Q1, 26Q1&lt;/STRONG&gt;, etc.&lt;/P&gt;&lt;P&gt;Mon modèle de données est le suivant :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dim_SKU&amp;nbsp;(one) →&amp;nbsp;Fact_SKU-SITE&amp;nbsp;(many) par le code SKU (Dim_SKU stock les infos de mes skus, la fact sku-site m'apporte une combinaison entre un sku et site de production (pk) car un sku peut se retrouver dans plusieurs site de production)&lt;/LI&gt;&lt;LI&gt;Une table disconnected&amp;nbsp;Axe X Courbes S&amp;nbsp;utilisée comme axe X, reliée à&amp;nbsp;Fact_SKU-SITE&amp;nbsp;via des&amp;nbsp;&lt;STRONG&gt;relations inactives&lt;/STRONG&gt;&amp;nbsp;activées par&amp;nbsp;USERELATIONSHIP. La timeline se calcule comme cela : Date Event (un évènement important pour le début de la prod) -&amp;gt; JalonX (en jours), chaque timeline a donc une relation inactive avec ma table X courbes S [value]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ce que je veux obtenir&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Afficher sur un&amp;nbsp;&lt;STRONG&gt;même graphique en courbes&lt;/STRONG&gt;, plusieurs séries superposées correspondant à des combinaisons librement choisies, par exemple : Jalon1 26Q1, Jalon1 25Q1, Jalon2 26Q1, etc. L'idéal serait de pouvoir sélectionner les combinaisons à afficher via des slicers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ce que j'ai déjà&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Une mesure fonctionnelle par combinaison jalon × quarter, construite ainsi :&lt;/P&gt;&lt;P&gt;% Courbe S Event &amp;gt; Jalon1 26Q1 =&lt;BR /&gt;VAR Jour = SELECTEDVALUE('Axe X Courbes S'[Value])&lt;BR /&gt;VAR Numerateur =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALCULATE(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISTINCTCOUNT('Fact_SKU-SITE'[PK_SKU_x_Site]),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERELATIONSHIP('Axe X Courbes S'[Value], 'Fact_SKU-SITE'[Event &amp;gt; Jalon1 (jrs)]),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER(ALL('Axe X Courbes S'), 'Axe X Courbes S'[Value] &amp;lt;= Jour),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Fact_SKU-SITE'[Jalon1 Statut A/B] = "A",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT(ISBLANK('Fact_SKU-SITE'[Event &amp;gt; Jalon1 (jrs)])),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEPFILTERS(FILTER(ALL('Dim_SKU'), 'Dim_SKU'[SKU Quarter (pour filtre)] = "26Q1"))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;VAR Denominateur =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALCULATE(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NB SKU-SITE],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEPFILTERS(FILTER(ALL('Dim_SKU'), 'Dim_SKU'[SKU Quarter (pour filtre)] = "26Q1"))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;RETURN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIVIDE(Numerateur, Denominateur)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Le problème&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pour afficher N courbes superposées sur un même graphique, Power BI nécessite N mesures distinctes dans le puits Valeurs. Avec 3 jalons × 4 quarters, cela représente déjà&amp;nbsp;&lt;STRONG&gt;12 mesures&lt;/STRONG&gt;. Le nombre va croître avec les quarters.&lt;/P&gt;&lt;P&gt;L'IA m'a envisagé une architecture avec :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;1 mesure métier par jalon&lt;/STRONG&gt;&amp;nbsp;contenant toute la logique&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;1 wrapper one-liner par combinaison&lt;/STRONG&gt;&amp;nbsp;appelant la mesure métier avec le quarter forcé&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Mais je me demande s'il existe une approche plus élégante, notamment via&amp;nbsp;&lt;STRONG&gt;Field Parameters, Calculation Groups, ou toute autre technique&lt;/STRONG&gt;&amp;nbsp;qui permettrait de réduire le nombre de mesures tout en conservant la possibilité d'afficher plusieurs courbes superposées de différent jalons et différent quarter sur un même graphique.&lt;/P&gt;&lt;P&gt;Merci d'avance pour vos retours !&lt;/P&gt;&lt;P&gt;Désolé pour la longueur du post, mais j'ai préféré ajouter plus de contexte que pas assez&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2026 12:49:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparaison-de-courbes-en-S-par-jalon-et-par-quarter-Quelle/m-p/5359366#M188423</guid>
      <dc:creator>Wanou</dc:creator>
      <dc:date>2026-08-14T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Need DAX measure to show yearly DISTINCTCOUNT per Group instead of aggregated total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-measure-to-show-yearly-DISTINCTCOUNT-per-Group-instead/m-p/5350270#M188409</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Dear Community, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to adjust my measure so that it always returns the correct count &lt;STRONG&gt;per “ID Group”&lt;/STRONG&gt;, and it should correctly respect the filters for &lt;STRONG&gt;Company&lt;/STRONG&gt; and &lt;STRONG&gt;Date/Year&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Right now, my formula sums all years together. It does not break the values down by the selected year (Screenshot at the end)&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;What I need&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;For each &lt;STRONG&gt;Group Name&lt;/STRONG&gt;, I want the measure to show the correct yearly count, and this value should be repeated for all its subcategories (Rubrik Name).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;For the group &lt;STRONG&gt;“1. Arbeitssicherheit”&lt;/STRONG&gt;, I should get:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2024:&lt;/STRONG&gt; instead of showing &lt;STRONG&gt;18&lt;/STRONG&gt; for all subcategories, the measure should show &lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2025:&lt;/STRONG&gt; instead of &lt;STRONG&gt;18&lt;/STRONG&gt;, it should show &lt;STRONG&gt;9&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2026:&lt;/STRONG&gt; instead of &lt;STRONG&gt;18&lt;/STRONG&gt;, it should show &lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;For the group &lt;STRONG&gt;“2. Umweltschutz”&lt;/STRONG&gt;, I should get:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2024:&lt;/STRONG&gt; instead of &lt;STRONG&gt;6&lt;/STRONG&gt;, it should show &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2025:&lt;/STRONG&gt; instead of &lt;STRONG&gt;6&lt;/STRONG&gt;, it should show &lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;2026:&lt;/STRONG&gt; instead of &lt;STRONG&gt;6&lt;/STRONG&gt;, it should show&lt;STRONG&gt; 2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Current Measure (returns total across all years)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Group =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Kontrollen_Kriterien (1)'[pageAddress]),&lt;BR /&gt;ALLSELECTED('Kontrollen_Kriterien (1)'),&lt;BR /&gt;REMOVEFILTERS('Kontrollen_Kriterien (1)'[Rubrik Name]),&lt;BR /&gt;KEEPFILTERS(VALUES('Kontrollen_Kriterien (1)'[Gruppe Name]))&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This measure correctly removes the subcategory filter, but it still aggregates all years together. I need a version that &lt;STRONG&gt;keeps the selected Year filter active&lt;/STRONG&gt;, so the count is calculated per year and per group. My Year is comming from a Data Table joining my Table thorugh the colum "Final Date".&lt;/SPAN&gt;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;Thank you so much for your help, finding a proper formula for this.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Aug 2026 13:33:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-measure-to-show-yearly-DISTINCTCOUNT-per-Group-instead/m-p/5350270#M188409</guid>
      <dc:creator>luzrueda</dc:creator>
      <dc:date>2026-08-07T13:33:53Z</dc:date>
    </item>
    <item>
      <title>How to create a measure to calculate incremental value between two cases in same table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-measure-to-calculate-incremental-value-between/m-p/5348941#M188404</link>
      <description>&lt;P&gt;Would appreciate any helping in creating a DAX measure to calculate incremental values (filtered to Steam Rate m3/d for this exercise) between different cases over time.&amp;nbsp; I would prefer the formula to always use a reference case (in this case it would be "PAD111_DN) so that I can have a slicer which would allow me to switch between different cases while the calculation still uses that case as a reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also want to show it in a chart where the x-axis would be Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2026 05:03:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-measure-to-calculate-incremental-value-between/m-p/5348941#M188404</guid>
      <dc:creator>drogzy</dc:creator>
      <dc:date>2026-08-07T05:03:06Z</dc:date>
    </item>
    <item>
      <title>Counting distinct list against multiple contain strings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-distinct-list-against-multiple-contain-strings/m-p/5348707#M188402</link>
      <description>&lt;P&gt;Looking for some assistance. I'm a novice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need to count instruments within a set of specific types and for a specific financial year IF they have also have a specific set of offences listed.&amp;nbsp; The offences are concatenated into a single list. An instrument (as represented by an instrument number, e.g. K010200) may have more than one of these offences but I only want to count an instrument once.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I thought the approach I finally landed on worked.&amp;nbsp; But... it double counts if an instrument matches against more than one of the legislation references.&amp;nbsp; &amp;nbsp;I have 49 measure in total - some only have 1 reference to match against while several have 7.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;*Please note the legislation references and instrument types shown below are publically available within our differing sets of legislation so I am not sharing any content that breaches any level of security etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEASUREA1=&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;A&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_number]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;left&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_type]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"s46"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"s48"&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[issued_date_financial_year]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;refdata&lt;/SPAN&gt;&lt;SPAN&gt;[current_year]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CONTAINSSTRINGEXACT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[offence_list]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;STRONG&gt;5D(1)(c)&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;) +&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;B&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_number]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;left&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_type]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"s46"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"s48"&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[issued_date_financial_year]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;refdata&lt;/SPAN&gt;&lt;SPAN&gt;[current_year]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CONTAINSSTRINGEXACT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[offence_list]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;"5D(5A)&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;C&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_number]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;left&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[instrument_type]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"s46"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"s48"&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[issued_date_financial_year]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;refdata&lt;/SPAN&gt;&lt;SPAN&gt;[current_year]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CONTAINSSTRINGEXACT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'prod extract'&lt;/SPAN&gt;&lt;SPAN&gt;[offence_list]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;STRONG&gt;5D(2)(a)(b)(iv)&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;) +&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Aug 2026 01:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-distinct-list-against-multiple-contain-strings/m-p/5348707#M188402</guid>
      <dc:creator>Peterdown</dc:creator>
      <dc:date>2026-08-07T01:40:15Z</dc:date>
    </item>
    <item>
      <title>Divide in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-in-Power-BI/m-p/5346789#M188398</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi! I'm rather new with Power BI so probably this is a stupid question but I can't find the answer.&lt;/P&gt;&lt;P&gt;I have two tables:&lt;/P&gt;&lt;P&gt;1) Calculation of total of used storage per network (which is a table "Pivot werkingskosten" I added in power BI)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2) Uploaded table 'budgetten' which is the maximum storage per network.&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;My question: how do i calculate (in a new table) the usage of the storage per network?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with this:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Usage budget =&lt;/SPAN&gt; &lt;SPAN&gt;divide&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Pivot werkingskosten'&lt;/SPAN&gt;&lt;SPAN&gt;[totaal]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Budgetten&lt;/SPAN&gt;&lt;SPAN&gt;[Budget Werkingskosten]&lt;/SPAN&gt;&lt;SPAN&gt;)) but that does not seem to work...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2026 11:49:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-in-Power-BI/m-p/5346789#M188398</guid>
      <dc:creator>Mark_Vdc</dc:creator>
      <dc:date>2026-08-06T11:49:58Z</dc:date>
    </item>
    <item>
      <title>Erro em Calculate com múltiplas referências de filtros</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Erro-em-Calculate-com-m%C3%BAltiplas-refer%C3%AAncias-de-filtros/m-p/5343891#M188393</link>
      <description>&lt;P&gt;Há alguma alteração documentada ou uma atualização no mecanismo de otimização do Power BI, a partir de março/26, que possa ter tornado mais rigorosa a validação de filtros com múltiplas referências à mesma tabela dentro de uma função&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CALCULATE?&lt;BR /&gt;Tinha medidas antigas que estavam funcionando normalmente, apesar da semântica confusa, e passaram a retornar valores incorretos.&lt;BR /&gt;Tive que reescrevê-las de uma forma mais explicita e semântica&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;para voltarem a funcionar.&lt;BR /&gt;Por exemplo:&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Haskell&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Medida&lt;/SPAN&gt; &lt;SPAN class=""&gt;Antiga&lt;/SPAN&gt; = 
&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;QTDE&lt;/SPAN&gt; =
&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;(
    &lt;SPAN class=""&gt;Count&lt;/SPAN&gt;(&lt;SPAN class=""&gt;Tabela1&lt;/SPAN&gt;[&lt;SPAN class=""&gt;Coluna1&lt;/SPAN&gt;]), 
    &lt;SPAN class=""&gt;Filter&lt;/SPAN&gt;(&lt;SPAN class=""&gt;Tabela2&lt;/SPAN&gt;, [&lt;SPAN class=""&gt;Coluna1&lt;/SPAN&gt;] = &lt;SPAN class=""&gt;1&lt;/SPAN&gt;),
    &lt;SPAN class=""&gt;Tabela1&lt;/SPAN&gt;,  // ← &lt;SPAN class=""&gt;TABELA&lt;/SPAN&gt; &lt;SPAN class=""&gt;INTEIRA&lt;/SPAN&gt; &lt;SPAN class=""&gt;COMO&lt;/SPAN&gt; &lt;SPAN class=""&gt;FILTRO&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;Tabela1&lt;/SPAN&gt;[&lt;SPAN class=""&gt;Coluna2&lt;/SPAN&gt;]=&lt;SPAN class=""&gt;"Sim"&lt;/SPAN&gt;, 
    &lt;SPAN class=""&gt;Filter&lt;/SPAN&gt;(&lt;SPAN class=""&gt;Tabela2&lt;/SPAN&gt;, [&lt;SPAN class=""&gt;Coluna2&lt;/SPAN&gt;] = &lt;SPAN class=""&gt;"1"&lt;/SPAN&gt;),
    &lt;SPAN class=""&gt;NOT&lt;/SPAN&gt;(&lt;SPAN class=""&gt;ISBLANK&lt;/SPAN&gt;(&lt;SPAN class=""&gt;Tabela1&lt;/SPAN&gt;[&lt;SPAN class=""&gt;Coluna3&lt;/SPAN&gt;]))
)
   &lt;SPAN class=""&gt;COALESCE&lt;/SPAN&gt;(&lt;SPAN class=""&gt;QTDE&lt;/SPAN&gt;, &lt;SPAN class=""&gt;0&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Refeita para:&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;SQL&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Medida Nova = 
VAR QTDE = 
CALCULATE(
        COUNT(Tabela1[Coluna1]),
        Tabela1[Coluna2] = "Sim",
        NOT(ISBLANK(Tabela1[Coluna3])),
        Tabela2[Coluna1] = "1",
        Tabela2[Coluna2] = "1"
    )
RETURN
    COALESCE(QTDE, 0)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Gostaria de entender o que mudou neste período para avaliar se precisarei revisar todas as medidas antigas em uso nos vários painéis que possuímos.&lt;/P&gt;&lt;P&gt;Obrigado!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2026 13:26:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Erro-em-Calculate-com-m%C3%BAltiplas-refer%C3%AAncias-de-filtros/m-p/5343891#M188393</guid>
      <dc:creator>victor_franca</dc:creator>
      <dc:date>2026-08-05T13:26:30Z</dc:date>
    </item>
  </channel>
</rss>

