<?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 Report view missing data issue after sorting rows by a custom order in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Report-view-missing-data-issue-after-sorting-rows-by-a-custom/m-p/3128878#M7084</link>
    <description>&lt;P&gt;I have a report view like below. The expression of measure Q1_ is on the top, coming from the column Q1_pre.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_0-1678730428973.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886078i4A516E7CE5E6714B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_0-1678730428973.png" alt="Sophie0320_0-1678730428973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By following&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-sort-my-rows-and-columns-by-cutom-order/m-p/164816#M71933" target="_self"&gt;Solved: How to sort my rows and columns by cutom order - Microsoft Power BI Community,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created a dimension table to sort the rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_1-1678730541109.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886079iB92032B41DAF8FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_1-1678730541109.png" alt="Sophie0320_1-1678730541109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After replacing the column Count Type in the report with Count Type (DIM), the rows are sorted. But two numbers are missing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_2-1678730829400.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886085iAE77A89E025DEFE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_2-1678730829400.png" alt="Sophie0320_2-1678730829400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anybody know the reason? How can I fix it?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 18:09:01 GMT</pubDate>
    <dc:creator>Sophie0320</dc:creator>
    <dc:date>2023-03-13T18:09:01Z</dc:date>
    <item>
      <title>Report view missing data issue after sorting rows by a custom order</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Report-view-missing-data-issue-after-sorting-rows-by-a-custom/m-p/3128878#M7084</link>
      <description>&lt;P&gt;I have a report view like below. The expression of measure Q1_ is on the top, coming from the column Q1_pre.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_0-1678730428973.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886078i4A516E7CE5E6714B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_0-1678730428973.png" alt="Sophie0320_0-1678730428973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By following&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-sort-my-rows-and-columns-by-cutom-order/m-p/164816#M71933" target="_self"&gt;Solved: How to sort my rows and columns by cutom order - Microsoft Power BI Community,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created a dimension table to sort the rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_1-1678730541109.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886079iB92032B41DAF8FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_1-1678730541109.png" alt="Sophie0320_1-1678730541109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After replacing the column Count Type in the report with Count Type (DIM), the rows are sorted. But two numbers are missing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sophie0320_2-1678730829400.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/886085iAE77A89E025DEFE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sophie0320_2-1678730829400.png" alt="Sophie0320_2-1678730829400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anybody know the reason? How can I fix it?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 18:09:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Report-view-missing-data-issue-after-sorting-rows-by-a-custom/m-p/3128878#M7084</guid>
      <dc:creator>Sophie0320</dc:creator>
      <dc:date>2023-03-13T18:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Report view missing data issue after sorting rows by a custom order</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Report-view-missing-data-issue-after-sorting-rows-by-a-custom/m-p/3136446#M7130</link>
      <description>&lt;P&gt;I have not figured our a solution. Let me explain more.&lt;/P&gt;&lt;P&gt;Here is the expression of the measure Q1_:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Q1_ = &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;var _A = &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;SWITCH (SELECTEDVALUE('Staffing Summary (2)'[Count Type]), &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;"% Completed", DIVIDE(CALCULATE(SUM('Staffing Summary (2)'[Q1_pre]), 'Staffing Summary (2)'[Count Type] = "Staffing Achieved"), &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;CALCULATE(SUM('Staffing Summary (2)'[Q1_pre]), 'Staffing Summary (2)'[Count Type] = "Planned Staffing"), 0),&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;"% Name Identified", DIVIDE(CALCULATE(SUM('Staffing Summary (2)'[Q1_pre]), 'Staffing Summary (2)'[Count Type] = "Names Identified"), &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;CALCULATE(SUM('Staffing Summary (2)'[Q1_pre]), 'Staffing Summary (2)'[Count Type] = "Planned Staffing"), 0),&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;SUMX('Staffing Summary (2)',[Q1_pre])&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;RETURN &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;switch (SELECTEDVALUE('Staffing Summary (2)'[Count Type]), "% Completed", FORMAT(_A,"#%"), "% Name Identified", FORMAT(_A,"#%"),FORMAT(_A, "#,0"))&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I need to recalculate the two % rows because they cannot simply sum up the value in each Resource Category, like what Q1_pre does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The weird thing is 100% and 50% are gone after I sorted the rows by using the sorted column Count Type (DIM) in the index table. Does anybody know what happened?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:06:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Report-view-missing-data-issue-after-sorting-rows-by-a-custom/m-p/3136446#M7130</guid>
      <dc:creator>Sophie0320</dc:creator>
      <dc:date>2023-03-16T14:06:04Z</dc:date>
    </item>
  </channel>
</rss>

