<?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 Matrix full of measures - when formatting blank rows show up! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1406057#M25949</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have generated a matrix full of measures a bit like this&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;and the result is brilliant, showing something like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, i'm trying to format the values (e.g. Area to 1 decimal place, Tonnes rounded to nearest number etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;and so i attempted a format function:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and suddenly all these blank rows show up with no data (but is all the available dates in my date table which is one of the columns)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know (1) is there another way to format my numbers in the matrix full of measures and / or why the table suddenly show so many empty rows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 00:22:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-01T00:22:30Z</dc:date>
    <item>
      <title>Matrix full of measures - when formatting blank rows show up!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1406057#M25949</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have generated a matrix full of measures a bit like this&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;and the result is brilliant, showing something like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, i'm trying to format the values (e.g. Area to 1 decimal place, Tonnes rounded to nearest number etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;and so i attempted a format function:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and suddenly all these blank rows show up with no data (but is all the available dates in my date table which is one of the columns)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know (1) is there another way to format my numbers in the matrix full of measures and / or why the table suddenly show so many empty rows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 00:22:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1406057#M25949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-01T00:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix full of measures - when formatting blank rows show up!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1406118#M25951</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Difficult to tell without looking at data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The formatting it changing it into text. That might have cause this issue. There was the solution proposed by Guyinacube using external tools. See if that can help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=vlnx7QUVYME" target="_blank"&gt;https://www.youtube.com/watch?v=vlnx7QUVYME&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;measure slicer &lt;BR /&gt;&lt;A href="https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern" target="_blank"&gt;https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 01:24:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1406118#M25951</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-01T01:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix full of measures - when formatting blank rows show up!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1408228#M26056</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, i had a look at the youtube and it looks good (although i'm still struggling to wrap my head around it a bit, as the values are not showing as i want).&lt;/P&gt;&lt;P&gt;i tidied up my example and hope this works for a download:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/13WUUB3H8jkjeApp5P-kmnr_srXeJSx7B/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/13WUUB3H8jkjeApp5P-kmnr_srXeJSx7B/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the top table has all the data i want,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i want to format it to the table below (i have compiled all the measures into a matrix)so i can have 2 layer headers&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, i want to be able to format the columns differently&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. area to 1 decimal place,&amp;nbsp;&lt;/P&gt;&lt;P&gt;volume tonnes to nearest digit, but t/ha to 1 decimal place, sales to $ etc etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would really appreciate any feed back. Been going through google searches for ages now and can't come up with much more!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 21:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/1408228#M26056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-01T21:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix full of measures - when formatting blank rows show up!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/2083270#M47304</link>
      <description>&lt;P&gt;I ran into the same issue, using the LEN function to return blanks in case of zero characters worked for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;VAR Result = ....&lt;/FONT&gt; (your measure that includes formatting)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;RETURN&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;IF(LEN(Result)=0, BLANK(), Result)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Sep 2021 17:32:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/2083270#M47304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-17T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix full of measures - when formatting blank rows show up!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/2098122#M47855</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i formatted already the first 6 columns, I let you do the rest &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH( TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name])="Area", IF(sum(HarvestSummary[Area (ha)]) &amp;lt;&amp;gt; BLANK(), FORMAT(sum(HarvestSummary[Area (ha)]), "0.0"), BLANK() ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name])="Volume",IF(sum(FLITS[Nett]) &amp;lt;&amp;gt; BLANK(), FORMAT(sum(FLITS[Nett]), "0"), BLANK() ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Volume (t/ha)", IF([Vol_tperha] &amp;lt;&amp;gt; BLANK(), FORMAT([Vol_tperha], "0"), BLANK()),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Log Sales", IF([Calc_LogSales] &amp;lt;&amp;gt; BLANK(), FORMAT([Calc_LogSales] * -1, "($ 0)"), BLANK()),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Log Sales ($/t)", IF([Calc_LogSales_per_ton] &amp;lt;&amp;gt; BLANK(), FORMAT([Calc_LogSales_per_ton] *-1, "($ 0.00)"), BLANK()),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Logging", IF([Calc_Logging] &amp;lt;&amp;gt; BLANK(), FORMAT([Calc_Logging], "$ 0"), BLANK()),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Logging ($/t)", [Calc_Logging_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Cartage", [Calc_Cartage],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Cartage ($/t)", [Calc_Cartage_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Management ($)", [Calc_Mgt_Total],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Management ($/t)", [Calc_Mgt_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Gross Stumpage", [GrossStumpage],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Gross Stumpage ($/t)", [GrossStumpage_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Gross Stumpage ($/ha)", [GrossStumpage_per_ha],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Roads &amp;amp; Landings", [Calc_Roads_Total],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "R&amp;amp;L ($/t)", [Calc_Roads_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "R&amp;amp;L ($/ha)", [Calc_Roads_per_hac],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Other", [Calc_Other],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Other ($/t)", [Calc_Other_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Net From Harvest", [Calc_Net],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Net From Harvest ($/t)", [Calc_Net_per_ton],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(MYOB_Group[Measure Name]) = "Net From Harvest ($/ha)", [Calc_Net_per_ha],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If this solves your problem, please mark it as the solution so others can find it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 25 Sep 2021 18:33:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-full-of-measures-when-formatting-blank-rows-show-up/m-p/2098122#M47855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-25T18:33:04Z</dc:date>
    </item>
  </channel>
</rss>

