What's Preventing Query Folding in this Power Query?

I've watched the Power Query presentation at the 2014 Tech Ed, and I'm trying to understand why this PQ (below) doesn't employ query folding.  The Tech Ed Power Point presentation states suggests that "Internal Power Query logic" affects folding,
but I'm unclear what that means.  Are the Text functions inhibiting query folding?  If so, how might I "scrub" arguments in a custom function parameter list while still encouraging query folding?
let
Source = Teradata.Database("fsltdprd.am.freescale.net"),
Product = Source{[Schema="EDW",Item="PROD_PDM_EFF_CURR"]}[Data],
Prodline = Source{[Schema="EDW",Item="PROD_LN_PDM_DOC"]}[Data],
ProdFilter = Table.SelectRows(Product,
each [MTRL_TYPE_CD] = Text.Upper(Text.Trim("AA"))
and Date.From([REVSN_RLSE_DTTM]) >= #date(2014,1,1)),
PrdlFilter = Table.SelectRows(Prodline,
each [TM_VAR_STS_FLG] = "A"
and [EFF_TO_DT] = #date(3999,12,31)
and Text.StartsWith([PTI_CD],Text.Upper(Text.Trim("J")))),
ProdCols = Table.SelectColumns(ProdFilter,
{"PART_ID","MTRL_TYPE_CD","PLC_CD","PAO_CD","REVSN_RLSE_DTTM","PROD_LN_ID"}),
PrdlCols = Table.SelectColumns(PrdlFilter, {"DOC_ID","PTI_CD","PKG_CD"}),
Join1 = Table.Join(ProdCols, {"PROD_LN_ID"}, PrdlCols, {"DOC_ID"}, JoinKind.Inner),
Results = Table.RemoveColumns(Join1, {"DOC_ID"})
in
Results

Btw, this is the "finished" product ... 
(optional #"Pti 1 thru 4" as text
, optional #"Mtrl Type" as text
, optional #"Last Revision Dttm" as datetime) =>
let
Source = Teradata.Database("fsltdprd.am.freescale.net"),
MtrlType = Text.Upper(Text.Trim(#"Mtrl Type")),
PtiCode = Text.Upper(Text.Trim(#"Pti 1 thru 4")),
LRevDttm = #"Last Revision Dttm",
Product = Source{[Schema="EDW",Item="PROD_PDM_EFF_CURR"]}[Data],
Prodline = Source{[Schema="EDW",Item="PROD_LN_PDM_DOC"]}[Data],
ProdFilter = Table.SelectRows(Product,
each (if MtrlType = null then true else [MTRL_TYPE_CD] = MtrlType )
and (if LRevDttm = null then true else [REVSN_RLSE_DTTM] >= LRevDttm )),
PrdlFilter = Table.SelectRows(Prodline,
each [TM_VAR_STS_FLG] = "A"
and [EFF_TO_DT] = #date(3999,12,31)
and (if PtiCode = null then true else Text.StartsWith([PTI_CD], PtiCode ))),
ProdCols = Table.SelectColumns(ProdFilter,
{"PART_ID","MTRL_TYPE_CD","PLC_CD","PAO_CD","REVSN_RLSE_DTTM","PROD_LN_ID"}),
PrdlCols = Table.SelectColumns(PrdlFilter, {"DOC_ID","PTI_CD","PKG_CD"}),
Join1 = Table.Join(ProdCols, {"PROD_LN_ID"}, PrdlCols, {"DOC_ID"}, JoinKind.Inner),
Results = Table.RemoveColumns(Join1, {"DOC_ID"})
in
Results

Similar Messages

  • Please help me what other way i can tune this select query..

    Hello Guru,
    I have a select query which retrieve data from 10 tables and around 4 tables having 2-4 Lac record and rest are having 80,000 - 1 Lac record.
    It is taking around 7-8 seconds to fetch 55000 record.
    I was strictly told by the client that i should not use HINTS in my query. My query is below. Please help me what other way i can tune this select query..
    select
    CT.CUST_ID
    ,CT.ROMANISED_SURNAME
    ,CT.SURNAME
    ,CT.ROMANISED_GIVEN_NAME
    ,CT.GIVEN_NAME
    ,CT.ROMANISED_MIDDLE_NAME
    ,CT.MIDDLE_NAME
    ,CT.ROMANISED_NAME_SUFFIX
    ,CT.NAME_SUFFIX
    ,CT.ROMANISED_TITLE
    ,CT.TITLE
    ,CT.ROMANISED_NAME_INITIALS
    ,CT.NAME_INITIALS
    ,CT.NAME_TEXT
    ,CT.CUST_JRNY_ID
    ,RK.REMARK_TYPE
    ,RK.REMARK_ID+CT.CUST_ID as REMARK_ID
    ,RK.REMARK_STATUS
    ,RK.REMARK_TEXT
    ,RK.HOST_ONLY_IND
    ,RK.SUPERVISORY_IND
    ,RK.CUST_COMM_IND
    ,RK.REMARK_SEQ
    ,RK.REMARK_CODE
    ,RK.DEFAULT_CUST_REL_IND
    ,RK.DEFAULT_FLIGHT_SEG_REL_IND
    ,RK.IATA_CODE
    ,RK.ICAO_CODE
    ,CJ.RECORD_LOCATOR "SITA_RECORD_LOCATOR"
    ,Cjv.Record_Locator "ORIGINATOR_RECORD_LOCATOR"
    ,FS.TRAVELLING_GROUP_CODE
    ,CG.GROUP_NAME
    FROM FLIGHT_LEG FL
    ,CUST_FLIGHT_LEG CFL
    ,CUST CT
    ,CUST_REMARK CTR
    ,REMARK RK
    ,FLIGHT_SEG_FLIGHT_LEG FSFL
    ,FLIGHT_SEG FS
    ,CUST_JRNY CJ
    ,CUST_JRNY_VERSION CJV
    ,CUST_GROUP CG
    WHERE FL.OPR_FLIGHT_NUMBER = 1--I_OPR_FLIGHT_NUMBER
    and FL.HISTORY_VERSION_NUMBER = 0
    and FL.DEPARTURE_STATION_CODE = 'DEL'--I_DEPARTURE_STATION_CODE
    and FL.DEPARTURE_DATETIME = TO_DATE('10-DEC-2012 18.45.00', 'DD-MON-YYYY HH24.MI.SS')
    and FL.OPR_SERVICE_PROVIDER_CODE= 'AI'--i_opr_service_provider_code
    and FL.OPR_FLIGHT_SUFFIX = 'A'--NVL(I_OPR_FLIGHT_SUFFIX, FL.OPR_FLIGHT_SUFFIX)
    AND FL.FLIGHT_LEG_ID = CFL.FLIGHT_LEG_ID
    AND CFL.CUST_ID = CT.CUST_ID
    AND FL.FLIGHT_LEG_ID=FSFL.FLIGHT_LEG_ID
    AND FSFL.FLIGHT_SEG_ID=FS.FLIGHT_SEG_ID
    AND CT.CUST_ID = CTR.CUST_ID(+)
    AND CTR.REMARK_ID = RK.REMARK_ID(+)
    AND FL.CUST_JRNY_ID = CJ.CUST_JRNY_ID
    and CJ.CUST_JRNY_ID = CJV.CUST_JRNY_ID
    AND CG.CUST_JRNY_ID(+) = CT.CUST_JRNY_ID
    AND CFL.HISTORY_VERSION_NUMBER = 0
    AND CT.HISTORY_VERSION_NUMBER = 0
    AND NVL(CTR.HISTORY_VERSION_NUMBER,0) = 0
    AND NVL(RK.HISTORY_VERSION_NUMBER,0) = 0
    AND FS.HISTORY_VERSION_NUMBER = 0
    AND FSFL.HISTORY_VERSION_NUMBER = 0
    -- AND CJ.HISTORY_VERSION_NUMBER = 0
    and CJV.VERSION_NUMBER = 0 --- Need to check
    AND NVL(CG.HISTORY_VERSION_NUMBER,0) = 0
    order by CT.CUST_JRNY_ID,CT.CUST_ID;
    The Tables having record:
    select COUNT(*) from FLIGHT_LEG -----241756
    select COUNT(*) from CUST_FLIGHT_LEG---632585
    select COUNT(*) from CUST---240015
    select COUNT(*) from CUST_REMARK---73724
    select COUNT(*) from REMARK---73654
    select COUNT(*) from FLIGHT_SEG_FLIGHT_LEG---241789
    select COUNT(*) from FLIGHT_SEG----260004
    select COUNT(*) from CUST_JRNY----74288
    select COUNT(*) from CUST_JRNY_VERSION----74477
    select COUNT(*) from CUST_GROUP----55819
    Thanks,
    HP..

    Plan hash value: 3771714931
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop |
    | 0 | SELECT STATEMENT | | 10239 | 2949K| | 7515 (1)| 00:01:31 | | |
    | 1 | SORT ORDER BY | | 10239 | 2949K| 3160K| 7515 (1)| 00:01:31 | | |
    |* 2 | HASH JOIN | | 10239 | 2949K| | 6864 (1)| 00:01:23 | | |
    | 3 | PARTITION HASH ALL | | 73687 | 1079K| | 417 (1)| 00:00:06 | 1 | 512 |
    |* 4 | TABLE ACCESS FULL | CUST_JRNY_VERSION | 73687 | 1079K| | 417 (1)| 00:00:06 | 1 | 512 |
    |* 5 | HASH JOIN | | 10239 | 2799K| | 6445 (1)| 00:01:18 | | |
    | 6 | PARTITION HASH ALL | | 73654 | 863K| | 178 (1)| 00:00:03 | 1 | 512 |
    | 7 | TABLE ACCESS FULL | CUST_JRNY | 73654 | 863K| | 178 (1)| 00:00:03 | 1 | 512 |
    |* 8 | FILTER | | | | | | | | |
    |* 9 | HASH JOIN RIGHT OUTER | | 10239 | 2679K| | 6267 (1)| 00:01:16 | | |
    | 10 | PARTITION HASH ALL | | 55315 | 756K| | 137 (1)| 00:00:02 | 1 | 512 |
    | 11 | TABLE ACCESS FULL | CUST_GROUP | 55315 | 756K| | 137 (1)| 00:00:02 | 1 | 512 |
    |* 12 | FILTER | | | | | | | | |
    |* 13 | HASH JOIN OUTER | | 10240 | 2540K| 2056K| 6129 (1)| 00:01:14 | | |
    |* 14 | FILTER | | | | | | | | |
    |* 15 | HASH JOIN RIGHT OUTER | | 10242 | 1930K| | 5531 (1)| 00:01:07 | | |
    | 16 | INDEX FAST FULL SCAN | CUST_REMARK_PK | 73677 | 935K| | 190 (0)| 00:00:03 | | |
    |* 17 | HASH JOIN | | 10257 | 1802K| | 5339 (1)| 00:01:05 | | |
    |* 18 | HASH JOIN | | 10257 | 701K| | 3516 (1)| 00:00:43 | | |
    |* 19 | HASH JOIN | | 3963 | 220K| | 2476 (1)| 00:00:30 | | |
    |* 20 | HASH JOIN | | 3963 | 181K| | 1300 (1)| 00:00:16 | | |
    | 21 | PARTITION HASH ALL | | 3963 | 131K| | 728 (1)| 00:00:09 | 1 | 512 |
    |* 22 | TABLE ACCESS FULL | FLIGHT_LEG | 3963 | 131K| | 728 (1)| 00:00:09 | 1 | 512 |
    |* 23 | INDEX FAST FULL SCAN| FLIGHT_SEG_FLIGHT_LEG_PK | 240K| 3059K| | 571 (1)| 00:00:07 | | |
    | 24 | PARTITION HASH ALL | | 259K| 2531K| | 1175 (1)| 00:00:15 | 1 | 512 |
    |* 25 | TABLE ACCESS FULL | FLIGHT_SEG | 259K| 2531K| | 1175 (1)| 00:00:15 | 1 | 512 |
    | 26 | PARTITION HASH ALL | | 631K| 8011K| | 1037 (1)| 00:00:13 | 1 | 512 |
    |* 27 | TABLE ACCESS FULL | CUST_FLIGHT_LEG | 631K| 8011K| | 1037 (1)| 00:00:13 | 1 | 512 |
    | 28 | PARTITION HASH ALL | | 239K| 25M| | 1822 (1)| 00:00:22 | 1 | 512 |
    |* 29 | TABLE ACCESS FULL | CUST | 239K| 25M| | 1822 (1)| 00:00:22 | 1 | 512 |
    | 30 | PARTITION HASH ALL | | 73623 | 4385K| | 243 (1)| 00:00:03 | 1 | 512 |
    | 31 | TABLE ACCESS FULL | REMARK | 73623 | 4385K| | 243 (1)| 00:00:03 | 1 | 512 |
    Predicate Information (identified by operation id):
    2 - access("CJ"."CUST_JRNY_ID"="CJV"."CUST_JRNY_ID")
    4 - filter("CJV"."VERSION_NUMBER"=0)
    5 - access("FL"."CUST_JRNY_ID"="CJ"."CUST_JRNY_ID")
    8 - filter(NVL("CG"."HISTORY_VERSION_NUMBER",0)=0)
    9 - access("CG"."CUST_JRNY_ID"(+)="CT"."CUST_JRNY_ID")
    12 - filter(NVL("RK"."HISTORY_VERSION_NUMBER",0)=0)
    13 - access("CTR"."REMARK_ID"="RK"."REMARK_ID"(+))
    14 - filter(NVL("CTR"."HISTORY_VERSION_NUMBER",0)=0)
    15 - access("CT"."CUST_ID"="CTR"."CUST_ID"(+))
    17 - access("CFL"."CUST_ID"="CT"."CUST_ID")
    18 - access("FL"."FLIGHT_LEG_ID"="CFL"."FLIGHT_LEG_ID")
    19 - access("FSFL"."FLIGHT_SEG_ID"="FS"."FLIGHT_SEG_ID")
    20 - access("FL"."FLIGHT_LEG_ID"="FSFL"."FLIGHT_LEG_ID")
    22 - filter("FL"."DEPARTURE_STATION_CODE"='DEL' AND "FL"."DEPARTURE_DATETIME"=TO_DATE(' 2012-12-10 18:45:00', 'syyyy-mm-dd
    hh24:mi:ss') AND "FL"."OPR_SERVICE_PROVIDER_CODE"='AI' AND "FL"."OPR_FLIGHT_NUMBER"=1 AND "FL"."OPR_FLIGHT_SUFFIX"='A' AND
    "FL"."HISTORY_VERSION_NUMBER"=0)
    23 - filter("FSFL"."HISTORY_VERSION_NUMBER"=0)
    25 - filter("FS"."HISTORY_VERSION_NUMBER"=0)
    27 - filter("CFL"."HISTORY_VERSION_NUMBER"=0)
    29 - filter("CT"."HISTORY_VERSION_NUMBER"=0)

  • Add actions to an existing query or function in Power Query

    Hello
    I have just started using Power Query and can see this will be an amazing tool to add to my tool set. However I am rather slow on the uptake and am having trouble with some of the basics of using Power Query
    I have successful created some queries and by following along on some articles at excelguru.ca/blog i have created a usable function or two
    The issue i have and can see this being something i will do a lot in the near future (especially while still learning), is that I need to go back to the query and function and edit it. In particular i need to either rename some columns to make them compatible
    with other data sources, or delete them.
    I can see that i can manually edit the query / function in the advanced editor, but i was wondering if it is possible to open the report up again and edit the columns in the same manner as when creating them in the first place?
    Thanks in advance for any help given.
    I am using Excel 2010, although do have access to Excel 2013 if needed, but as i am using PowerPivot in 2010 i would prefer to use PQ in 2010 also.
    Proportal

    OK - What had completely stumped me, and i had to set it aside to do other things, has just been solved!
    To explain - obviously editing Queries is simple - right click the query and edit... and then make the changes you want.
    For functions - the thing i was really struggling with is also fairly simple, but takes a few more steps.
    1 - copy the query from the advanced editor
    2 - create a new blank query from Get External Data on the Home Tab / From Other Sources / Blank Query
    3 - Past your function in and remove the function statement(s) and reinstate and file path information
    4 - Edit the columns etc as you want.
    5 - when completed paste the relevent sections back into the original function.
    Done.
    Hope this helps any others out there that were struggling with something so simple... 
    Moral of this - copy and save all your queries and functions in a text editor such as notepad++ so you can cut out a lot of the steps above...

  • What is preventing me from editing this PDF in Acrobat?

    I did some extensive editing of a form, and so chose to do it in FormsCentral.  When I finished my changes, I did a File - Save as PDF Form.  The outcome of this was the opening of Adobe Acrobat with the form.  This is the point that I added the third-party calendars to the date fields, and saved it.  When I open it now to do a change, I get this error message: "This is a secured document.  Editing is not permitted."  When I open it in reader, the calendars do not function.  What do I need to do to be able to edit my form in Acrobat?

    If you are the author and have Acrobat Pro. You can save as a Copy which turns off reader rights and allow you to edit the form.
    Then you have to reestablish reader rights.  so That receipient can only fill in the form.
    To make more than a minor misspelling Then I would If you have set reader rights Make a Copy.
    Then make changes in original Document. save PDF under different name.
    the in your open PDF you intend to use locate Replace Pages.  Choose starting point and browser to the New PDF and choose to replace All.  Next you may or may not have to adjest where your fields line up. Is so , then click on each field in turn that needs moving and use arrrow keys or home keys to move up down, side to side until you have them lined up. Now Save Changes. and re-establish Reader Right if you had set them up.

  • Suppress Power Query's Native Database Query Warning

    Is there a way to suppress the "Native Database Query" warning issued by Power Query when running a SQL query directly against a Teradata database?  This warning states, "You are about to run a native database query.  Native queries
    can make changes to the database.  Would you like to run the following query?"

    If we never prompted here, then I could send you a workbook with the embedded query "drop table foo". You'd open it, Power Query would run analysis and we'd execute the statement -- all before you had any idea what had happened. It's true that
    there are many potential users for whom showing the SQL text isn't useful. Hopefully, those users don't have the kinds of server permission that would let a query run with their credentials do lasting damage. But the prompt is to deal with the very possible
    risk of having even a sophisticated user run a query by accident that they shouldn't have.
    The original intent of the feature was to support a scenario where a user says "I already have a SQL query whose output I want to consume into Power Query; why can't I just use that?" It did not take parameterization into account. We subsequently
    considered adding parameterization to this method, but didn't feel that we could sufficiently guarantee security. That is, if your query text is Sql.Database("server", "database", [Query="exec @sql", Parameters=[sql="drop
    table foo"]], the user would be prompted only with "exec @sql" and the malicious payload would be delivered invisibly.
    We very much do not want to have the responsibility of parsing multiple different dialects of SQL to try to guess whether or not it contains potentially-malicious code.
    Our current thinking on this is that we might let advanced users write "trusted code" which has to go through a separate verification step. Code of this type might be able to generate SQL statements without a user prompt. So a workbook might have
    a dependency on the "My Trusted Code" module, and simply won't run if that module hasn't been installed on the local machine. The user would then need a trustworthy (but convenient) way to obtain that module from a trustworthy source.

  • Can't get my head around Power Query Append

    I have 1 spreadsheet with 6 almost identical tabs. I have added each one to PowerQuery and pre-processed it.  The result of these 6 queries are 6 identical tables.  Now I want to combine them into a single table an import into my data model.
    I see there are 2 approaches but neither are intuitive to me. I just want a single query that I select "import to data model" that will append all the data from the other 6 queries.
    Can someone give me a step by step guide?  All the sites I have looked at tell me how to combine 2 queries but I can't seem to scale the concept.
    I realise this seems like a really dumb question - sorry in advance.
    With hind site, I think I could use this approach 
    datapigtechnologies.com/blog/index.php/using-power-query-to-combine-data-from-multiple-excel-files-into-one-table/
       I will probably do that anyway.
    But I would still appreciate some guidance on the best way to append my 6 tables into 1.

    Hi Mally,
    Thanks for the feedback. Besides typing in the formula as Chris, Curt and Faisal mentioned, you could also apply Append Queries operations to append tables one by one. Note that if you launch "Append Queries" from the Power Query ribbon tab you will get
    a new query every time, but if you do it from the Query Editor dialog ribbon, Power Query adds every Append operation as a new step within the current query.
    We are well aware that this 1-by-1 append operation is a shortcoming in the Power Query UX and have plans to address it by letting users add more than one query (i.e. more than one dropdown) in the Append Queries dialog, which will effectively generate a
    similar formula to what others on this thread have proposed.
    We still don't have details on the timeline for the availability of this improvement to Append Queries, but I wanted to let you know that we are planning to address it.
    Thanks for your feedback and for using Power Query.
    Regards,
    M.

  • Multiple Table.AddColumn command in a single Power Query

    I was using this example in another thread for another question and this issue popped up.
    I have this list in sharepoint.
    When I run this Power Query
    let
    Source = SharePoint.Tables("https://server/test"),
    PQtesting = Source{[Name="PQtesting"]}[Content],
    RemovedColumns = Table.RemoveColumns(PQtesting,{"ContentTypeID", "ContentType", "CreatedById", "ModifiedById", "Owshiddenversion", "Version", "Path", "Attachments"}),
    Custom1 = Table.AddColumn(RemovedColumns, "Options 2", each Text.Combine([Options][Value], ", ")),
    Custom2 = Table.AddColumn(RemovedColumns, "Options 1", each Text.Combine([Options][Value], " and "))
    in
    Custom2
    Only column Custom2 shows up in the output, if I remove custom2 then custom1 shows up.  It appears only one custom column shows up at a time as I can swap them and the custom column on the bottom will always show in the output.  I have found examples
    online of others using multiple custom columns.  Is this a limitation of something I'm doing in my code or of sharepoint, or am I doing something wrong?
    Thanks in advance,
    Eric

    I'm a bit embarrassed on how long I have been trying to figure this out.
    Thank you so much for your help.
    Eric

  • Mac OS X 10.6.8; iPhoto- photos  to 'burn folder'; press 'burn' symbol. This window appears: 'Burn - The disc can't be burned, bcause the device failed to calibrate the laser power level for this media'; what to do next to address this?-

    have Mac OS X 10.6.8; Put a few iPhoto-photos  to 'burn folder'; press 'burn' symbol. This window appears: 'Burn - The disc can't be burned, bcause the device failed to calibrate the laser power level for this media'; what to do next to address this?-

    That's a hardware issue and I'd ask on the forum for whatever Mac you have.

  • POWER QUERY Get External Data From File From Folder (Excel 2013)

    Hi,
    Beginner's question :
    What could be the use of the query on a folder : we just get a list of files with their path. What can we do with that?
    Thanks

    Hi,
    Do you want to combine data from multiple Excel Files in the same folder path into one table? If I understand correct, we can add a custom column to import the data.
    After we getting a list of files with their path, the Query Editor window will activate to show you a table containing a record for each file in the chosen directory. These will provide our function with the needed FilePath and FileName parameters. 
    Function sample: File name([Folder path],[Field name]
    For more detailed steps, please see the article:
    http://datapigtechnologies.com/blog/index.php/using-power-query-to-combine-data-from-multiple-excel-files-into-one-table/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • What's new in Power Query January 2014 update?

    I just downloaded Power Query Version 2.9.3547.162 (January 2014) and I'm wondering what's new.
    The
    What's new in Power BI page does not display any news.
    Thanks!

    December is typically a slow month at Microsoft for all the obvious reasons. Because of that, we decided to focus on bug fixes and other product quality improvements. Over 250 product issues were fixed in this release.
    There were also significant improvements to the Text/CSV import experience to automatically detect column delimiters.
    One subtle change might take some getting-used-to -- or at least it did for me: the advanced editing dialog is now accessed from the "View" tab on the main editing dialog instead of being a mysterious button on the formula bar.

  • What's new in Power Query 2.10 Update?

    Does anyone know what's new in this latest version?

    Power Query 2.10 version has the same features as the 2.9 version, except the some additional bug fixes and the fact that it is the GA version. 2.9 was a Preview version.

  • What's New in Power Query Version 2.14.3722.242 ?

    Does anyone know what's new in Power Query 2.14.3722.242 released yesterday, July 30th?

    Btw, subsequent to David's assist (above) I discovered this ... 6 new updates in Power Query - July 2014

  • So I have a file on my desktop and I cannot open it, move it to a folder, or delete it from my mac. I dont know what it has in it, and that makes me suspicious. What can I do to remove this unremovable file from my computer? Is it a virus?

    So I have a file on my desktop and I cannot open it, move it to a folder, or delete it from my mac. I dont know what it has in it, and that makes me suspicious. What can I do to remove this unremovable file from my computer? Is it a virus?

    First, I would recommend repairing the hard drive with Disk Utility.
    If that doesn't fix the problem, there's a very dangerous command you can execute in the Terminal.  This is very hazardous, because a simple typo can result in very drastic consequences.  I have seen people erase their entire hard drive by putting a space in the wrong place!  So, please follow the directions I'm going to give you very carefully!
    Open the Terminal, which is found in the Utilities folder in the Applications folder.  In the Terminal, enter the following:
    sudo rm -f
    Make sure to put a space after the "-f"!  Then, drag the troublesome file from the Finder and drop it on the Terminal window.  That should insert the path to the file in the command.  Then go back to the Terminal and press return.  You will be asked for your password, and when you type it, nothing will be shown as a security measure.  Press return again after entering your password.  The file should be deleted.

  • My ipod touch has a usb cable picture with an arrow pointingto the itunes logo. the ipod will not connect to a computer and is unable to be turned off as there is no red power slider when the powerbutton is pressed. what can i do to fix this?

    my ipod touch has a usb cable picture with an arrow pointing to the itunes logo. the ipod will not connect to a computer and is unable to be turned off as there is no red power slider when the power button is pressed. what can i do to fix this?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,00 songs and They are all in my music folder..What can I do to fix this issue?

    I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !

    I did that and nothing changed half my songs still have examination marks beside them
    I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files?

Maybe you are looking for

  • ADF FACES: af:table not rendering all columns

    I'm using ADF EA 17 with myFaces 1.0.9 on JBoss 4.0.1/JVM 1.4.2_07-b05. The af:table is embedded within an af:panelgroup (being body of af:panelbox). The af:table is not rendering all columns (only last 2 out of 8 cols total). The model behind the af

  • Premier Elements 2 not capturing video

    I have operated Premier Elements 2 for some years, but I am currently having problems with the video capture. The controls operate the camera, the sound is on, but the picture does not appear and nothing downloads. I have reinstalled the program but

  • TV & Home Theater

    Hooked up with two HDMI cables, one from cable box to TV and the other from "home theater in a box" to TV.  Also hooked an optical digital audio cable from the cable box to "home theater in a box".  Other than speaker wires that's the complete setup.

  • Microsoft Messenger won't connect anymore?

    I've been using microsoft messenger for 9 months now perfectly fine, but today when I got home it says "im not connected to the internet or msn is busy and can't connect." I tried getting on my ipod and even that couldn't log on. I went and got my PC

  • Small help in SQl regarding the distinct function

    could some one tell me how to get a distinct column rows from a table .. select distinct(xyz), sales from dept which is giving the duplicate rows for the column xyz... could some one give me the right syntex for this Thanks in advance ..