<?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: Combine DAX measure with units column? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1823031#M38680</link>
    <description>&lt;P&gt;Thanks Jihwan. I aprecaite your effort.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a memory error when trying a simliar pattern. I wanted to keep my post simple so I should say that my 'Sum' is actually a CALCULATE(SUM...) with a condition. Also, the numeric part of the result needs to be turned to a STRING before the concatenation can be done with UOM. Not only that but once it is turned into a STRING the measure can't be referenced in subsequent calculations. I was hoping for some smooth way that Power BI would concatenate the units while keeping my result as a number.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 18:24:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-04T18:24:12Z</dc:date>
    <item>
      <title>Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822549#M38665</link>
      <description>&lt;P&gt;I have a calculated measure in DAX for Total Sales of various items in the form of:&lt;/P&gt;&lt;P&gt;Sales = SUM(ExtendedPrice)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each granular row in my data also has a Unit of Measure stored in a separate column named 'UOM' (LBS, Tons, CF, etc) . How do I present the measure 'Sales' and have the appropriate units concatenated to it so it displays as '100 LBS', '300 Tons', '400 CF' etc?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 14:26:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822549#M38665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-04T14:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822651#M38666</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You have to make sure UOM is part of visual &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sales = SUM(ExtendedPrice) &amp;amp; max([UOM])&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 15:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822651#M38666</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-04T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822652#M38667</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please correct me if I wrongly understood your question.&lt;/P&gt;&lt;P&gt;Please try something like the&amp;nbsp;below.&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;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;Sales = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FORMAT (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;IF ( ISFILTERED ( 'Table'[uom] ), SUM ( 'Table'[extendedprice] ) ),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;"#,##0.00"&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;) &amp;amp; " "&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;amp; SELECTEDVALUE ( 'Table'[uom] )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&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;</description>
      <pubDate>Tue, 04 May 2021 15:08:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1822652#M38667</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-04T15:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1823031#M38680</link>
      <description>&lt;P&gt;Thanks Jihwan. I aprecaite your effort.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a memory error when trying a simliar pattern. I wanted to keep my post simple so I should say that my 'Sum' is actually a CALCULATE(SUM...) with a condition. Also, the numeric part of the result needs to be turned to a STRING before the concatenation can be done with UOM. Not only that but once it is turned into a STRING the measure can't be referenced in subsequent calculations. I was hoping for some smooth way that Power BI would concatenate the units while keeping my result as a number.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 18:24:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1823031#M38680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-04T18:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1823052#M38681</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;If you create a calculation group and format those by using a Tabular editor in Power BI, it will be still a number. The format can be customized row by row, if you want.&lt;/P&gt;&lt;P&gt;If you can share your sample pbix file's link here, I can try to look into it and come up with a more accurate solution.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 18:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/1823052#M38681</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-04T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Combine DAX measure with units column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/3737747#M145721</link>
      <description>&lt;P&gt;Hi Datazen,&lt;/P&gt;&lt;P&gt;Did you find the solution for the question you raised?&lt;/P&gt;&lt;P&gt;Now I am having same requirement in on of my report. If you found solution please share the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 17:06:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-DAX-measure-with-units-column/m-p/3737747#M145721</guid>
      <dc:creator>Vinodkumarj</dc:creator>
      <dc:date>2024-03-02T17:06:53Z</dc:date>
    </item>
  </channel>
</rss>

