<?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: How to convert a measure into a column and then use it as an attribute to re-calculate measures. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4661353#M178501</link>
    <description>&lt;P&gt;Thanks for your comments.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 14:02:26 GMT</pubDate>
    <dc:creator>juanesteban14</dc:creator>
    <dc:date>2025-04-21T14:02:26Z</dc:date>
    <item>
      <title>How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4601254#M176149</link>
      <description>&lt;P&gt;Hi to all, I'would appreciate if someone could help me to solve this:&lt;BR /&gt;I have a sales report that include SKU / Customer / Sales Quantity / Margin% and I need to classify&amp;nbsp;in four cathegories my SKUs, to do that I create a Parameter for each measure to define the target number for each measure, Quantity and Margin.&amp;nbsp; Based on those targets and real numbers, I've create a new column calculated, to categorize this two measeure in one, I mean, cathegory A, B, C and D, where, Cat A is when Quantity and Margin are higher than Targets parameters,&amp;nbsp; Cat B is when Quantity is higher than Quanty Target and margin is lower than margin target.&amp;nbsp;&amp;nbsp;Cat C is when Quantity is lower than Quanty Target and margin is higher than margin target and&amp;nbsp;Cat D is when Quantity and Margin are lower than Targets parameters.&lt;/P&gt;&lt;P&gt;The issue that I have is when I try to use this new column as an attribute, because based on that cathegory (A, B, C, D) I want to recaclulate quantities, margins and numbers of SKUs for each category&amp;nbsp;A, B,C and D.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;Thanks,&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;</description>
      <pubDate>Fri, 07 Mar 2025 22:35:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4601254#M176149</guid>
      <dc:creator>juanesteban14</dc:creator>
      <dc:date>2025-03-07T22:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4601297#M176151</link>
      <description>&lt;P&gt;Calculated columns are immutable. You cannot base them on measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI does not support dynamic binning.&amp;nbsp; You need to bring your own buckets.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 23:02:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4601297#M176151</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-07T23:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4602734#M176202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1234859" data-lia-user-login="juanesteban14" class="lia-mention lia-mention-user"&gt;juanesteban14&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, categories are reached by measure. You can create a table with all the categories, use this column in the visualization and calculate data such as the total quantity of each category in the fact table by the measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my test for your reference.&lt;/P&gt;
&lt;P&gt;Custom Table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = DATATABLE("Category",STRING,{{"A"},{"B"},{"C"}})&lt;/LI-CODE&gt;
&lt;P&gt;Measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;quantity = SUMX(FILTER('Table',[Categories]=MAX('Table 2'[Category])),'Table'[Value])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;——————————————————————————————————————————————————&lt;/P&gt;
&lt;P&gt;&lt;I&gt;If my answer helps you solve the problem,&amp;nbsp;please accept my answer as a solution and let it be seen by more people in need.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Best regards,&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Mengmeng Li&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:26:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4602734#M176202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-10T07:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4660691#M178475</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1234859" data-lia-user-login="juanesteban14" class="lia-mention lia-mention-user"&gt;juanesteban14&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for posting your query in the Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN data-teams="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 09:15:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4660691#M178475</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-21T09:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4661353#M178501</link>
      <description>&lt;P&gt;Thanks for your comments.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 14:02:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4661353#M178501</guid>
      <dc:creator>juanesteban14</dc:creator>
      <dc:date>2025-04-21T14:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4665861#M178696</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1234859" data-lia-user-login="juanesteban14" class="lia-mention lia-mention-user"&gt;juanesteban14&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&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. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 04:32:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4665861#M178696</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-24T04:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4666775#M178750</link>
      <description>&lt;P&gt;Thanks for taking the time to answer and send me this option. I've tried to implemented but I couldn't, I don´t know if I'm doing wrong but calculations are not right. I'll try to do it again from scratch. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 12:43:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4666775#M178750</guid>
      <dc:creator>juanesteban14</dc:creator>
      <dc:date>2025-04-24T12:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4666926#M178758</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4666926#M178758</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-24T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a measure into a column and then use it as an attribute to re-calculate measures.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4670369#M178888</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1234859" data-lia-user-login="juanesteban14" class="lia-mention lia-mention-user"&gt;juanesteban14&lt;/a&gt;,&lt;BR /&gt;Could you please confirm if this issue has been resolved? If it has, kindly mark it as the solution and share the details in the community to help other members.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 09:13:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-convert-a-measure-into-a-column-and-then-use-it-as-an/m-p/4670369#M178888</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-28T09:13:22Z</dc:date>
    </item>
  </channel>
</rss>

