<?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: Retain the same order when Import Excel Data to PBI Desktop and formatting in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831287#M1237293</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Create a new calculated column using DAX:&lt;/SPAN&gt;&lt;BR /&gt;Index = 'YourTable'[Metric Name] &amp;amp; " - " &amp;amp; 'YourTable'[Year]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conditional Formatting:&lt;/STRONG&gt; To apply conditional formatting based on whether the value is greater than or equal to the target:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a new measure to calculate whether the value meets the target:&lt;BR /&gt;&lt;BR /&gt;MeetTarget = IF('YourTable'[Value] &amp;gt;= 'YourTable'[Target], 1, 0)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use conditional formatting in your visual:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;Go to the formatting options for the value field.&lt;/LI&gt;&lt;LI&gt;Choose "Data colors" or "Conditional formatting" (depending on your Power BI version).&lt;/LI&gt;&lt;LI&gt;Select "Advanced controls" or "Rules" to define the conditions.&lt;/LI&gt;&lt;LI&gt;Add a rule to format the color based on the MeetTarget measure:&lt;UL&gt;&lt;LI&gt;If MeetTarget is 1, set the color to green.&lt;/LI&gt;&lt;LI&gt;If MeetTarget is 0, set the color to red.&lt;BR /&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 14:51:48 GMT</pubDate>
    <dc:creator>johnbasha33</dc:creator>
    <dc:date>2024-04-11T14:51:48Z</dc:date>
    <item>
      <title>Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3828017#M1236725</link>
      <description>&lt;P&gt;Hello Team - I would like to show the data in the same sequence as I have the data entered in excel. I tried creating INDEX column and use it for sort. But as the same metric name repeats for every year, it doesn't work out. Please check the sample data below and let me know if it can be achieved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Metric Name&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Target&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;Apr&lt;/TD&gt;&lt;TD&gt;May...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN1&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN3&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;15%&lt;/TD&gt;&lt;TD&gt;16%&lt;/TD&gt;&lt;TD&gt;18%&lt;/TD&gt;&lt;TD&gt;22%&lt;/TD&gt;&lt;TD&gt;14%&lt;/TD&gt;&lt;TD&gt;12%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN2&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;0.5&lt;/TD&gt;&lt;TD&gt;0.45&lt;/TD&gt;&lt;TD&gt;0.475&lt;/TD&gt;&lt;TD&gt;0.5&lt;/TD&gt;&lt;TD&gt;0.55&lt;/TD&gt;&lt;TD&gt;0.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN1&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN3&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;15%&lt;/TD&gt;&lt;TD&gt;14%&lt;/TD&gt;&lt;TD&gt;20%&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN2&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;0.5&lt;/TD&gt;&lt;TD&gt;0.5&lt;/TD&gt;&lt;TD&gt;0.6&lt;/TD&gt;&lt;TD&gt;0.7&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a table or matrix visual and show the metrics in the same sequence as shown in above table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I also want to format the cells with different colors. If the value under a month is greater than or equal to target value then color it with green, else with red. I created a dynamic measure and handling the "%" symbol or $ symbol for amounts but how do I do the comparison and apply coloring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 16:47:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3828017#M1236725</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-10T16:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3829050#M1236996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, did you start out using the RANK function to create the indexed columns? Maybe you can use Power Query to create the index columns.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to compare monthly data to a target value, use the following DAX expression.(January and February respectively, you can add the rest of the months by referring to this format.)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE('Table'[Jan]) &amp;gt;= SELECTEDVALUE('Table'[Target]),"Green","Red")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = IF(SELECTEDVALUE('Table'[Feb]) &amp;gt;= SELECTEDVALUE('Table'[Target]),"Green","Red")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Setting the Conditional Format.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 04:22:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3829050#M1236996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T04:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831270#M1237287</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;for the response. I can follow the approach suggested for background color. But for sorting, I do not want to show Index column in the table / matrix visual. Also Metric, "MN3" is a %. I want to show it as 15%, 18% and so on not as 0.15, 0.18...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831270#M1237287</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-11T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831287#M1237293</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Create a new calculated column using DAX:&lt;/SPAN&gt;&lt;BR /&gt;Index = 'YourTable'[Metric Name] &amp;amp; " - " &amp;amp; 'YourTable'[Year]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conditional Formatting:&lt;/STRONG&gt; To apply conditional formatting based on whether the value is greater than or equal to the target:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a new measure to calculate whether the value meets the target:&lt;BR /&gt;&lt;BR /&gt;MeetTarget = IF('YourTable'[Value] &amp;gt;= 'YourTable'[Target], 1, 0)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use conditional formatting in your visual:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;Go to the formatting options for the value field.&lt;/LI&gt;&lt;LI&gt;Choose "Data colors" or "Conditional formatting" (depending on your Power BI version).&lt;/LI&gt;&lt;LI&gt;Select "Advanced controls" or "Rules" to define the conditions.&lt;/LI&gt;&lt;LI&gt;Add a rule to format the color based on the MeetTarget measure:&lt;UL&gt;&lt;LI&gt;If MeetTarget is 1, set the color to green.&lt;/LI&gt;&lt;LI&gt;If MeetTarget is 0, set the color to red.&lt;BR /&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:51:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831287#M1237293</guid>
      <dc:creator>johnbasha33</dc:creator>
      <dc:date>2024-04-11T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831317#M1237310</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp; - Thanks for the response. I understand about conditional formatting. But for sorting, how would creating an Index as concatenation of Metric Name and Year help? If I sort Metric Name based on the new Index column, it will not allow as the same Metric Name would have two different indexes. Remember, I want to show the metric names in the same sequence as entered in excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 15:11:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3831317#M1237310</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-11T15:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3832985#M1237688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;,thank you for your participation, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you don't want to show indexed columns, I can think of two ways to do it, but both have limitations.&lt;/P&gt;
&lt;P&gt;1.'Sort by Column'.It requires column values that are unique, i.e., the 'Feb' column can be sorted according to the index columns created.' Mertic' column has duplicate values and cannot be sorted.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-desktop" target="_blank"&gt;Sort one column by another column in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.Add a graphic to cover the index columns&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Regarding your display problem, refer to the following expression.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Target_1 = IF(SELECTEDVALUE('Table'[Metric]) = "MN3",
FORMAT(SELECTEDVALUE('Table'[Target]),"0%"),
SELECTEDVALUE('Table'[Target]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 07:47:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3832985#M1237688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-12T07:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3834903#M1238150</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;. I actually created measures for individual metrics and using them in matrix visual in the sequence I need. This has helped with sequencing. But, I am facing challenges with coloring. I am trying to follow the approach you suggested for coloring, it works fine in table visual but in matrix visual, it doesn't work as expected. Giving below the screenshots.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, if I select an orange row in table visual, then matrix will show in orange for that selected cell.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 23:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3834903#M1238150</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-12T23:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3837545#M1238672</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The table data are as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;BR /&gt;1. Use the following DAX expression to create a column&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = SUMX(FILTER('Tabelle1','Tabelle1'[Period Name] = "Target"),[Wtd Average Maturity])&lt;/LI-CODE&gt;
&lt;P&gt;2.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE(Tabelle1[Wtd Average Maturity]) &amp;gt; SELECTEDVALUE(Tabelle1[Column]),"Yellow",
IF(SELECTEDVALUE(Tabelle1[Wtd Average Maturity]) &amp;lt; SELECTEDVALUE(Tabelle1[Column]),"Orange"))&lt;/LI-CODE&gt;
&lt;P&gt;3.Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 08:32:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3837545#M1238672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-15T08:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3838861#M1238950</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; - Appreciate for all your kind help with this. I have replicated the issue in attached PBIX file. I don't see any option to attach the file. Hence gave google drive link. Can you refer the matrix visual created by me and help me out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/drive/folders/1IUfvdik3Sa_g4C6cUjzGyjTAuZQiafky?usp=sharing" target="_blank"&gt;https://drive.google.com/drive/folders/1IUfvdik3Sa_g4C6cUjzGyjTAuZQiafky?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:23:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3838861#M1238950</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-15T17:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3840279#M1239278</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The value of the 'Column' column is the determining condition, I found the value to be 2.74, the correct value should be 0.35, I modified the expression.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = SUMX(FILTER('Tabelle1','Tabelle1'[Period Name] = "Target" &amp;amp;&amp;amp; 'Tabelle1'[Metric Name] = "Wtd"), Tabelle1[Value])&lt;/LI-CODE&gt;
&lt;P&gt;Modified the expression for the measure 'Measure'&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE(Tabelle1[Metric Name]) = "CY %", BLANK(),
IF(SELECTEDVALUE(Tabelle1[Value]) &amp;gt; SELECTEDVALUE(Tabelle1[Column]),"Yellow",
IF(SELECTEDVALUE(Tabelle1[Value]) &amp;lt; SELECTEDVALUE(Tabelle1[Column]),"Orange")))&lt;/LI-CODE&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3840279#M1239278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-16T07:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3842022#M1239731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; - Thanks a lot. I can use this approach. I see that you restricted the target value in "Column" to only "Wtd". But I would have multiple measures (In the PBIX file I just took couple for example - for that instance I have to color code CY% cells too based on CY%'s target and actuals) and I have to color code each of them based on their targets and the actual values. I can still follow the suggested approach but I will have to create numerous columns for storing individual metrics "Target" and numerous measures for "Color Code".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will wait for your response on this and "Accept your suggestion" as solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 15:08:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3842022#M1239731</guid>
      <dc:creator>PS_78</dc:creator>
      <dc:date>2024-04-16T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retain the same order when Import Excel Data to PBI Desktop and formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3844617#M1240402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="503702" data-lia-user-login="PS_78" class="lia-mention lia-mention-user"&gt;PS_78&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;1.Use the following DAX expression to create a table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = SUMMARIZE('Tabelle1',Tabelle1[Metric Name],"Target",CALCULATE(SUM(Tabelle1[Value]),'Tabelle1'[Period Name] = "Target"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.Creating table-to-table relationships&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;3.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR _a = SUM('Table'[Target])
VAR _b = IF(SELECTEDVALUE(Tabelle1[Value]) &amp;gt; _a,"Yellow",
         IF(SELECTEDVALUE(Tabelle1[Value]) &amp;lt; _a,"Orange"))
         RETURN _b&lt;/LI-CODE&gt;
&lt;P&gt;4.Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 08:27:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Retain-the-same-order-when-Import-Excel-Data-to-PBI-Desktop-and/m-p/3844617#M1240402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-17T08:27:44Z</dc:date>
    </item>
  </channel>
</rss>

