Sorting of calculated field in descending order

Hi Gurus, Expert
I have this code in BIP to get the Total Amount:
<?xdoxslt:set_variable($_XDOCTX,’MRCTot’,0)?>
<?for-each:ROW?>
<?xdoxslt:set_variable($_XDOCTX,'MRCTot',xdoxslt:get_variable($_XDOCTX,'MRCTot')+(MRC_ADD_PHP+MRC_DELETE_PHP+MRC_UPDATE_PHP))?><?MRC_ADD_PHP+MRC_DELETE_PHP+MRC_UPDATE_PHP?>
<?end for-each?>
<?xdoxslt:get_variable($_XDOCTX,'MRCTot')?>
Can you help me please how to sort this in Descending Order.
Regards,
John Paul

<?for-each:ROW?>
<?sort:A+B+C;'ascending';data-type='number'?>should help

Similar Messages

  • Can you sort a multi value field in descending order on a BC?

    Hi
    We have a date field which is a multivalue field on our Enrolment BC. The field comes from our Attendance BC. The Enrolment BC has a one to many relationship with an Attendance BC.
    We would like to sort this date in descending order for use on the Enrolment BC. We tried this on the link using the associated list sort spec. However this did not work.
    The only way we could get the multi value field to sort by descending order on the Enrolment BC was to add a sort spec on the Attendance BC. That is Date (DESC).
    Is there any other to do this using configuration? We don't want to add a sort spec on the Attendance BC to do this. At the moment it looks we will need to use script on the Enrolment BC.
    Thanks for you help,
    Tim

    That is a good suggestion. It looks like we already have a couple of cloned "Attendance" BC's used by workflow / interfaces so maybe I can use one of these. Thanks!

  • How can I sort my photos in a descending order as I could in iPhotos

    How can I sort my photos in a descending or ascending order as I could in iPhotos?

    Greetings Regina,
    Hope Waukesha is treating you well, haven't been there in years
    Events are sorted in the following ways:
    If Date, Keyword, Title, and Rating are not what you are looking for then it is time to start using Albums.
    Highlight the images you wish to work with and then go to File > New > Album (you can drag more images into this Album later if you want to arrange more of them.)
    Once you have the images in an Album you can use the "Manually" sort option which means you can drag the images into whatever order your heart desires.
    Hope that helps.

  • Is it possible to sort photos by date in descending order?

    In the new Yosemite Photos app my photos are displayed in ascending order by date. The oldest photos are at the top and I must scroll all the way down to view the newest photos. In iPhoto I was able to change the sorting order so that the newest photos were always at the top. Is there a way to do this in the Photos app?

    No, sorry, that sort option is still missing.
    You may want to write feedback to Apple, to request this feature:
    Apple - Mac OS X - Feedback

  • Can I turn off grouping by date in Finder and also 'Arrange by' and 'Sort by' in ascending and descending order?

    I am trying to arrange my photostream saved search (which doesn't update automatically after I did the search for the first time which is very annoying) but finder won't let me arrange in ascending order of date (i.e.: oldest to newest). Is there a way I can do this or will my folder arrangements always be the one way without the option to change it to the opposite arrangement (same for alphabetical). Also, Finder automatically arranges my photos into groups of dates (e.g.: 'previous 30 days', 'September'). Is there any way I can turn this off?
    Also if anyone can fix this stupid photostream issue for me that would be great!
    thanks very much 

    Even in list view, the photos are grouped by previous seven days, previous 30 days, October, and so on.. there is no option i see that will let me change to order by date modified without these groupings or to just turn these groupings off altogether
    but thank you for your reply
    -Peelo2311

  • Unable to sort profit center as ascending & Decending order in KE80 & KE30

    Hi,
    When viewing KE30/KE80 reports and navigating by a field such as profit centre, appear to be unable to sort in ascending/descending order.
    e.g. run a KE80 Report: i.e. ZPC-9000 & i.e. variant SMKT, and execute the report click on "Profit Center" under the navigation line to navigate it out to the right. Then click on the magnify glass next to the PC number (should bring up the list of all available PCs, 1259 entries found).
    From this pop-up box, unable to sort the PCs by ascending/descending order regardless of what you click.Also unable to sort the Long Text by ascending/descending order regardless of what you click
    Can anyone pls help on the above issue.We have to apply any note for this???.
    Thanks & Regards
    Mani

    Dear Mani,
    you can sort the entries by right-clicking on the column header and chosing the sorting order in the appearing menu.
    Cheers,
    Daniela

  • Marker Won't Display When Y Axis in Descending Order

    I'm using an RTF to create charts.  I'm using bi-publisher desktop version 11.1.1 and have Office 10 loaded.
    If I add markerDisplayed="true" to my line chart, the markers display on the line and in the legend.  But, when I add
    <Y1Axis axisMinAutoScaled="false" axisMinValue="1" majorTickStepAutomatic="false" majorTickStep="2" ascending="false" />
    the markers disappear from the lines but stay in the legend.
    For instance, this works (displays markers on lines and legend):
    <Graph markerDisplayed="true" depthAngle="50" depthRadius="8" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS"><LegendArea visible="true" /><LocalGridData colCount="{count(xdoxslt:group(.//G_2,  'PERIOD'))}" rowCount="{count(xdoxslt:group(.//G_2,  'BRAND'))}"><RowLabels><xsl:for-each-group select=".//G_2" group-by="BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/BRAND" /></Label></xsl:for-each-group></RowLabels><ColLabels><xsl:for-each-group select=".//G_2" group-by="PERIOD" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/PERIOD" /></Label></xsl:for-each-group></ColLabels><DataValues><xsl:for-each-group select="//G_2" group-by="./BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:variable name="G1" select="current-group()" /><RowData><xsl:for-each-group select="//G_2" group-by="./PERIOD"><Cell><xsl:value-of select="sum($G1[(./PERIOD=current()/PERIOD)]/RANKING[.!=''])" /></Cell></xsl:for-each-group></RowData></xsl:for-each-group></DataValues></LocalGridData></Graph>
    Add the code to sort the Y axis in descending order and start at 1, not o, and the markers disappear from the lines but still show up in the legend:
    <Graph markerDisplayed="true" depthAngle="50" depthRadius="8" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS"><LegendArea visible="true" /><Y1Axis axisMinAutoScaled="false" axisMinValue="1" majorTickStepAutomatic="false" majorTickStep="2" ascending="false" /><LocalGridData colCount="{count(xdoxslt:group(.//G_2,  'PERIOD'))}" rowCount="{count(xdoxslt:group(.//G_2,  'BRAND'))}"><RowLabels><xsl:for-each-group select=".//G_2" group-by="BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/BRAND" /></Label></xsl:for-each-group></RowLabels><ColLabels><xsl:for-each-group select=".//G_2" group-by="PERIOD" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/PERIOD" /></Label></xsl:for-each-group></ColLabels><DataValues><xsl:for-each-group select="//G_2" group-by="./BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:variable name="G1" select="current-group()" /><RowData><xsl:for-each-group select="//G_2" group-by="./PERIOD"><Cell><xsl:value-of select="sum($G1[(./PERIOD=current()/PERIOD)]/RANKING[.!=''])" /></Cell></xsl:for-each-group></RowData></xsl:for-each-group></DataValues></LocalGridData></Graph>
    I'm new to bi-pub so please excuse anything that might seem obviously right or wrong to you !
    Krys

    the kext may have gone funky on the Mac. see:
    iPod Updater reports iPod nano or Fifth Generation iPod must be connected using FireWire
    iTunes: No Photos or Videos tab in the iPod preferences pane in Mac OS X
    iPod does not appear in iPod Updater or iTunes in Mac OS X

  • Sort field in maintenance order

    Hello;
    I want to make sort field in maintenance order as a mandatory field. But if I make it as a mandatory field, system still allows me to save the order as long as I have not clicked 'Location' tab. So there is no positive control over this field. May I know, how do I achieve this? I have even tried to put order type as the influencing field but it does not help.
    Points assured.
    Regards
    Hemant

    Hello Hemant,
    access to the SAP service marketplace via www.service.sap.com to create an OSS message. Choose link "product errors". Therefore you need an OSS user and you have to be authorized to create OSS messages.
    To create an user-exit, you have to go to transaction CMOD. There you have to create a project and assign the enhancement you want to use (I'm not really sure, but I think IWO10009 is the correct one in your case - you can search the user-exits via transaction SMOD - search for IWO*).
    After this you have to implement your coding and then you have to activate the project.
    The implementation of the user-exit should be done by an ABAP developer.
    By the way - I've had a look at the OSS. There's note 768576.
    Reason and Prerequisites
    The problem is caused by a missing function.
    Influences set via field selection will only become effective if a screen with the corresponding fields is processed. You must also refer to the documentation defined in the corresponding Customizing area. For the location & account assignment data, no additional check is (such as with the general order header data) is realised during the saving.
    Prerequisite
    Via field selection you declared fields of the location & account assignment data as mandatory field, and no screen that contains these fields was passed.
    Solution
    By means of the example code, you must implement a corresponding mandatory field check via customer enhancement IWO10009 at the time of the order backup.
    1. Create subroutine Z_IWO10009_GET_DATA_FOR_FAW in program SAPMILA0. It would be best if you create an own include ZMILA0F1 for this so that you will not have any unnecessary expenditure for future Support Packages (via Transaction SE80).
    FORM Z_IWO10009_GET_DATA_FOR_FAW.
      CALL FUNCTION 'CO_IH_GET_HEADER'
           IMPORTING
                     CAUFVD_IMP = CAUFVD.
      CALL FUNCTION 'CO_IH_GET_ILOA'
           EXPORTING
                     CAUFVD_IMP = CAUFVD
           IMPORTING
                    ILOA_WA    = ILOA.
    ENDFORM.                    "Z_IWO10009_GET_DATA_FOR_FAW
    2. Create the following source code in customer enhancement IWO10009:
    STATICS: XTFAWF LIKE TFAWF OCCURS 0 WITH HEADER LINE.
    tables:  tfawf.
    DATA: wa_screen    LIKE screen.
    FIELD-SYMBOLS:  'A'.
      perform Z_IWO10009_GET_DATA_FOR_FAW(SAPMILA0).
      if xtfawf[] is initial.
        SELECT * FROM TFAWF INTO TABLE XTFAWF
                 WHERE PROG = 'SAPMILA0'.
      endif.
      LOOP AT XTFAWF WHERE CUST_M = 'X'.
        CALL FUNCTION 'FIELD_SELECTION_INFLUENCE'
             EXPORTING
                  dynprogruppe = '7   '
                  mode        = 'C'
                  modulpool    = 'SAPMILA0'
                  fieldname    =  XTFAWF-MFELD
             IMPORTING
                  input        = wa_screen-input
                  output      = wa_screen-output
                  active      = wa_screen-active
                  required    = wa_screen-required
                  intensified  = wa_screen-intensified
                  invisible    = wa_screen-invisible
             EXCEPTIONS
                  OTHERS      = 1.
        if wa_screen-required = 1.
          clear lv_mfeld.
          lv_mfeld = 'CAUFVD_IMP-'.
          case XTFAWF-MFELD.
            when 'ILOA-AUFNR'.
              lv_mfeld+11 = 'IAUFNR'.
            when 'ILOA-KOKRS'.
              lv_mfeld+11 = 'IKOKRS'.
            when 'ILOA-BUKRS'.
              lv_mfeld+11 = 'IBUKRS'.
            when 'ILOA-GSBER'.
              lv_mfeld+11 = 'IGSBER'.
            when 'RILA0-ARBPL'.
              lv_mfeld11 = xtfawf-mfeld6.
            when others.
              lv_mfeld11 = xtfawf-mfeld5.
          endcase.
          ASSIGN (lv_mfeld) TO  IS INITIAL.
            Message E461(IW)
            with 'Mussfelder der Standort&Kontierungsdaten füllen'.
            EXIT.
          ENDIF.
        endif.
      endloop.
    endif.
    3. Activate the changes
    Correspondingly you can implement this solution also for the order release, for example, via customer enhancement IWO10002.
    Bear in mind that this is a source code proposal. It might be useful or necessary to adjust this source code to special applications.
    Best regards
    Stephan
    Edited by: Stephan Theis on Jan 5, 2008 11:20 AM

  • Using JavaScript need to Sort subsite site collection based on date in descending order

    Hi,
    Below is my code, where i need to sort the " webCollection
    = web.getSubwebsForCurrentUser(null)" web collection based on the web.get_created() in
    descending order. How could i do it any suggestions. Also i need it in JavaScript.
    <script src="/_layouts/15/sp.runtime.js" type="text/javascript"></script>
    <script src="/_layouts/15/SP.js"></script>
    <script type="text/javascript">
    var context = SP.ClientContext.get_current();
    var web = context.get_web();
    ExecuteOrDelayUntilScriptLoaded(getWebProperties, "sp.js");
        function getWebProperties() {
                    webCollection = web.getSubwebsForCurrentUser(null);
            context.load(webCollection)
            //ctx.load(this.web);
            context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
                Function.createDelegate(this, this.onFail));
        function onSuccess(sender, args) {
            //alert('web title:' + this.web.get_title() + '\n ID:' + this.web.get_id()
    + '\n Created Date:' + this.web.get_created());
            alert("Number of sites: " + webCollection.get_count());
                   var webEnumerator = webCollection.getEnumerator();
                    while (webEnumerator.moveNext()){
       var web = webEnumerator.get_current();
      alert("Title="+web.get_title() +"\n"+ "Created="+web.get_created());
        function onFail(sender, args) {
            alert('failed to get list. Error:'+args.get_message());
    //getWebProperties();
    </script>
    Thanks!
    MCTS- Please vote and mark posts as answered where appropriate.

    Hi,
    According to your post, my understanding is that you wanted to sort the subsite based on the date in descending order.
    You can refer to the following code snippets, it sorts the subsites by the date in descending order.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    // When the body is loaded, the onload event handler executes each function whose name is contained in this array.
    _spBodyOnLoadFunctionNames.push("callCSOM");
    function callCSOM()
    $("#Button1").click(function()
    ExecuteOrDelayUntilScriptLoaded(RetriveSites, "sp.js");
    var currentcontext = null;
    var currentweb = null;
    function RetriveSites()
    currentcontext = new SP.ClientContext.get_current();
    currentweb = currentcontext.get_web();
    this.subsites = currentweb.get_webs();
    currentcontext.load(this.subsites);
    currentcontext.executeQueryAsync(Function.createDelegate(this, this.ExecuteOnSuccess),
    Function.createDelegate(this, this.ExecuteOnFailure));
    function ExecuteOnSuccess(sender, args)
    var subsites = '';
    var enum1 = this.subsites.getEnumerator();
    var siteCreatedTime = '';
    var array=new Array();
    while (enum1.moveNext())
    var site = enum1.get_current();
    array.push(new Array(site.get_created(),site.get_title()));
    alert(array);
    array=sortMethod(array);
    alert(array);
    function sortMethod(arr) {
    var i, j, stop, len = arr.length;
    for (i=0; i<len; i=i+1)
    for (j=1;j<len - i; j++)
    // change the "<" to ">" would be sort by the Ascending.
    if (new Date(arr[j-1][0]) < new Date(arr[j][0]))
    //swap(j, j+1);
    var temp = arr[j-1];
    arr[j-1] = arr[j];
    arr[j] = temp;
    //alert(new Date(arr[j]));
    return arr;
    function ExecuteOnFailure(sender, args) {
    alert("error");
    </script>
    <input id="Button1" type="button" value="Run Code"/>
    Results:
    Sort before:
    Sort after:
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Jason Guo
    TechNet Community Support

  • How to sort data in descending order when user clicks on the column heading

    Hi
    I have a report called "Top customers", which shows the top customers for a specific product line. It displays the customer name and one column with the total amount spent in the period for each product line. By default, the leftmost product line is sorted in descending order.
    If the user wants to know who are the top customers for another product line, they simply click on the column heading to sort the list by that column.
    The problem is that when you click for the first time on a sortable column heading, Apex sorts it in ascending order; you need to click on the same column heading again to sort in descending order.
    Is it possible to change this behaviour and sort the data in descending order in the first click? So the users don't have to click twice...
    Thanks
    Luis
    PS: Apex 3 running on Oracle 10.2.0

    Luis,
    See: Can I "catch" a click on a sortable column header of a report?
    Take a look at Anton Nielsen's answer with regards to hiding a column and displaying its value instead of the sortable column.
    Asumming the following simple report query:
    select product,sales
    from <table>
    Change that into:
    select product
    ,sales*-1 as reverse_sales -- Select this one as an extra column
    ,sales -- Hide this column
    from <table>
    In your report column attributes (of column reverse_sales), html-expression, type #sales#. It then displays the normal sales. However apex will generate a 'order by 2 asc' for the first time. The '2' will refer to the sales*-1 value: sorting it asc, is the same as sorting sales descending...
    Toon

  • Sort records in a csv file in the descending order of time created attribute

    I have an excel (.csv) file with the following column headers :-
    Client, 
    SourceNetworkAddress
    ,TimeCreated,
     LogonType
    ,User,
    Message
    Values like :- ABC, 10.5.22.27, 11/23/2014 9:02:21 PM, 10, testuser
    The file is a combination of a report generated everyday using multiple scripts. The data is appended each day therefore, I would like to sort the final output file in descending order of time created (a combination of date and time) fetched from events
    i.e. the latest record with the latest date and time should be at the top of the list.
    I tried using the following command however, I get a sorted list according to the date but not the time. The command does not consider the AM/PM mentioned in the time instead simply sorts them as per numbers 
    Import-Csv "C:\Users\a\Desktop\report.csv" | sort Timecreated -Descending | Export-csv "C:\Users\a\Desktop\report_sorted.csv" -force -NoTypeInformation
    So if I have a record with 9:02:21 PM(latest) and a record with time 10.44.10 AM on the same date, the command will sort the list with record 10:44:10 AM first and then record with 9:02:21 PM however it should be the opposite as per descending order.
    Kindly help !!

    Hi jrv,
    Thanks for your response. However, I get errors while I run this command in Powershell :-
    Import-Csv <file> | Select Client,SourceNetworkAddress,LogonType,User,Message,@{N='TimeCreated';E={[datetime]($_.TimeCreated)} | Sort TimeCreated -Descending | Export-csv <file> -force -NoTypeInformation
    Missing expression after ','.
    At line:1 char:150
    Unexpected token 'LogonType' in expression or statement.
    At line:1 char:151
    Unexpected token ',' in expression or statement.
    At line:1 char:160
    Unexpected token 'User' in expression or statement.
    At line:1 char:161
    Unexpected token ',' in expression or statement.
    At line:1 char:165
    Unexpected token 'Message' in expression or statement.
    At line:1 char:166
    The hash literal was incomplete.
    At line:1 char:174
    Please help!
    You are missing a second curly brace - 
    Import-Csv <file> | Select Client,SourceNetworkAddress,LogonType,User,Message,@{N='TimeCreated';E={[datetime]($_.TimeCreated)}} | Sort TimeCreated -Descending | Export-csv <file> -force -NoTypeInformation

  • Need to sort results in a report in descending order

    Hi,
    We have OIM 10g and we need to sort the report on date in descending order. I tried this code but still the column is not getting sorted.
    Evertime I generate the report, the results are sorted only in ascending order.
    Here the stored procedure code for sorting:
    strOrderByClause := 'abc.date';
    IF strsortorder_in = 'DESC' THEN
    intSortDirection_in := 0;
    ELSE
    intSortDirection_in := 1;
    END IF;
    Please let me know if you have faced similar issue.
    Thanks,
    Kalpana.

    Hi,
    If Oracle can give you back the right sort order without any custom sorting,
    that means you should be able to get the same results in WebI.
    If the object that you pull from the universe is the wrong type (like numeric but you want it alphanumeric),
    then you can either request you designer to give you an object with the right data type,
    or you can change it by creating a report variable using
    FormatNumber([original object],"0")
    this will format the number to a number without leading zeroes, thousand separators or decimal point.
    Now you can use the object as if it came from the universe.
    So you can also use it on the x-axis of a chart.
    Btw. you can also do a custom sort on the x-axis(as long as it is an object or variable, not a formula)
    alternative, if you define a custom sort in a table block, you can state it should be used througout the document.
    (so also in the charts.
    Hope this helps,
    Marianne

  • Sorting a two dimensional array in descending order..

    Guy's I'm a beginning Java programmer. I've been struggling with finding documentation on sorting a two dimensional primitive array in descending order.. The following is my code which goes works, in ascending order. How do I modify it to make the list write out in descending order?
    class EmployeeTable
         public static void main(String[] args)
         int[][] hours = {
              {2, 4, 3, 4, 5, 8, 8},
              {7, 3, 4, 3, 3, 4, 4},
              {3, 3, 4, 3, 3, 2, 2},
              {9, 3, 4, 7, 3, 4, 1},
              {3, 5, 4, 3, 6, 3, 8},
              {3, 4, 4, 6, 3, 4, 4},
              {3, 7, 4, 8, 3, 8, 4},
              {6, 3, 5, 9, 2, 7, 9}};
         int [] total = new int [hours.length];
         for (int i = 0; i < hours.length ; i++){
              for (int j = 0; j < hours.length ; j++){
                   total[i] += hours[i][j];
         int[] index = new int[hours.length];
         sortIndex(total, index);
    for (int i = 0; i < hours.length; i++)
    System.out.println("Employee " + index[i] + " hours are: " +
    total[i]);
    static void sortIndex(int[] list, int[] indexList) {
    int currentMax;
    int currentMaxIndex;
    for (int i = 0; i < indexList.length; i++)
    indexList[i] = i;
    for (int i = list.length - 1; i >= 1; i--) {
    currentMax = list[i];
    currentMaxIndex = i;
    for (int j = i - 1; j >= 0; j--) {
    if (currentMax < list[j]) {
    currentMax = list[j];
    currentMaxIndex = j;
    // How do I make it go in descending order????
    if (currentMaxIndex != i) {
    list[currentMaxIndex] = list[i];
    list[i] = currentMax;
    int temp = indexList[i];
    indexList[i] = indexList[currentMaxIndex];
    indexList[currentMaxIndex] = temp;

    Bodie21 wrote:
    nclow all you wrote was
    "This looks to me like a homework assignment that you're asking us to solve for you. Your description of what it does isn't even correct. It doesn't sort a 2d array.
    You would probably elicit better help if you could demonstrate that you've done some work and have something specific that you don't understand."
    To me that sounds completely sarcastic. You didn't mention anything constructive besides that.. Hence I called you a male phalic organ, not a rear exit...Bodie21, OK, now you've got 90% of us who regularly contribute to this forum thinking your the pr&#105;ck. Is that what you wanted to do? If so, mission accomplished. Many will be looking for your name next time you ask for help. Rude enough for you?

  • Listview sorting in ascending / descending order

    Hello
    I am new to winforms
    What I want to do is when the user clicks on a listview control column the listview data should get sorted by that column in ascending / descending order
    Please help me 
    Thanks
    regds
    Manoj Gokhale

    There's an example at the following link.
    https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.listviewitemsorter%28v=vs.110%29.aspx

  • How can I find the largest files on my hard drive (sorted in descending order of size)?

    To make most efficient use of Time Machine backup, I would like to have the option to exclude certain larger files that I don't need to save in case of a disk crash (e.g. a Windows partition under Parallels Desktop, which is backed up at the office anyway) etc.
    I can't figure out how I can scan my entire hard drive and obtain a list of all files in descending order of size, irrespective of within which subdirectories such files are hidden. Anyone having an idea on how this simple task can be accomplished?
    Thanks,
    AnLe41

    While Finder is active, press Command-F (Find in the File menu).
    In that window you can set search criteria. In the second sub-toolbar should be a couple of buttons representing pulldown menus; by default, the first usually shows "kind". Click that one.
    In the menu that opens, if "Size" or "File Size" is not available, select "Other". Then in the new window select "Size" or "File Size" and okay the window. From then on that choice will be available in the first pulldown menu.
    You can use that to search your drive.
    Note - by clicking the "+" button at the far right of the strip containing the pulldown menus, you can add additional search criteria, thus restricting a search to exactly what you want.

Maybe you are looking for