Data Refesh does not support script only queries

I created a Power Query transformation that does not contain any data source because it generates a fixed table (imagine a Date Table, with certain columns marked based on current day value). I receive this alert trying to create the data source:
Discover data sources - You can only use a connection string that has SQL Server or Oracle data sources. Also, the data sources cannot include native queries. Tracing ID: 040eda49-bcf9-4c82-af1c-69f6efb26cd0 - ‎07‎.‎55‎.‎44
The refresh fails with this error:
Failure
Correlation ID:
10225488-17be-4256-b03e-be975b87a281
OnPremise error: Sorry, we can't refresh connections to this kind of data source in Power Query yet.
I am wondering whether I can workaround the check by creating a SQL Query that returns an empty table that will be ignored in a following join, but is that really necessary? Why not refreshing a transformation that doesn't access to any data source?
Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

I tried to workaround the issue using the script below. However, even if creating the Data Source in Data Management Gateway worked well, without raising any error, I had this error (script follows).
Is the Table.Combine limited? Or what is the issue in this case?
Thanks!
Marco
Scheduled start   time: 5/3/2014 1:58 PM
Actual start time:   5/3/2014 2:31 PM
Failure time:   5/3/2014 2:31 PM
Status:
Failure
  Correlation ID: 3abb39be-05df-40e5-8366-45bdf58ccdc3
Data connections status:
Power Query - DimProductCategory
OnPremise error: Sorry, we can't refresh connections to this     kind of data source in Power Query yet.
Report owner: Marco   Russo
let
  Tab1 = #table( {"Number"}, { {1}, {2}, {3}, {4}, {5} } ),
  Source = Sql.Database("servername", "AdventureWorksDW2012"),
  dbo_DimProductCategory = Source{[Schema="dbo",Item="DimProductCategory"]}[Data],
  FilteredRows = Table.SelectRows(dbo_DimProductCategory, each [ProductCategoryKey] = 0),
  InsertedCustom = Table.AddColumn(FilteredRows, "Number", each 0),
  RemovedColumns = Table.RemoveColumns(InsertedCustom,{"ProductCategoryKey", "ProductCategoryAlternateKey", "EnglishProductCategoryName", "SpanishProductCategoryName", "FrenchProductCategoryName", "DimProductSubcategory"}),
  Append = Table.Combine({RemovedColumns,Tab1 })
in
  Append
Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

Similar Messages

  • Xml data type is not supported in distributed queries. Remote object 'OPENROWSET' has xml column(s).

    Hi,
    Can anyone help me out please.
    I have written one stored Procedure to create a views using Openrowset(openquery) but for tables which contains xml data types throwing error while executing the SP. Error
    " Xml data type is not supported in distributed queries. Remote object 'OPENROWSET' has xml column(s)."
    Please refer the Stored Procedure & error message below.
    USE [Ice]
    GO
    /****** Object:  StoredProcedure [dbo].[Pr_DBAccess]    Script Date: 08/14/2014 16:08:20 ******/
    SET
    ANSI_NULLS ON
    GO
    SET
    QUOTED_IDENTIFIER ON
    GO
    ALTER
    PROCEDURE [dbo].[ Pr_DBAccess](@SERVERTYPE
    NVARCHAR(50),@SERVERNAME
    NVARCHAR(100),@DATABASENAME
    NVARCHAR(100),@SCHEMANAME
    NVARCHAR(100),@TABLENAME
    NVARCHAR(100),@USERNAME
    NVARCHAR(100),@PASSWORD
    NVARCHAR(100))
    AS
    BEGIN
    DECLARE @openquery
    NVARCHAR(4000),
    @ETL_CONFIG_IDN
    NVARCHAR(100);
     IF @SERVERTYPE='SQL'
     BEGIN
    SET @openquery= 
    'CREATE VIEW '+@TABLENAME+
    ' WITH ENCRYPTION AS SELECT * FROM OPENROWSET(''SQLNCLI'',''SERVER='+@SERVERNAME+';TRUSTED_CONNECTION=YES;'',''SELECT * FROM '+@DATABASENAME+'.'+@SCHEMANAME+'.'+@TABLENAME+''')'
    SELECT @openquery
    END
    EXECUTE
    sp_executesql @openquery
    END
    ----While running the SP manually below error occured

    HI ,
    1. You cannot use a table or view that contains xml or clr type as 4-part name in your query
    2. You need to cast the column to either nvarchar(max) or varbinary(max) or other appropriate type to use
    3. If you have a table that has xml type for example then you need to create a view that contains all columns other than xml and query it instead. Or you can issue a pass-through query using OPEN QUERY with the appropriate columns only.
    Here is a work around:
    SELECT
          Cast(a.XML_Data as XML) as XML_Data
    FROM
          OPENQUERY([LINKED SERVER NAME HERE],'
              SELECT
                Cast(XML_Data as Varchar) as XML_Data
             FROM
                [DATABASE NAME].[SCHEMA].[TABLE NAME]'
    ) a
    Basically, the data is queried on the remote server, converts the XML data to a varchar, sends the data to the requesting server and then reconverts it back to XML.
    You can take help from below link;
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c6e0f4da-821f-4ba2-9b01-c141744076ef/xml-data-type-not-supported-in-distributed-queries?forum=transactsql
    Thanks

  • Premiere Pro Does Not Support Audio-Only Capture For Some Formats, Such As HDV?

    In the PPro CS 5.5 Help file  under, "Recording audio", it says:
    "Note: To capture an audio-only file from a digital video source, choose Audio from the Capture menu in the Logging pane of the Capture panel.
    "Premiere Pro does not support audio-only capture for some formats, such as HDV."
    I'm shooting in HDV and if I want to capture audio only, would I just need to switch my setting to DV?
    The only thing is my Canon HV20's HDV audio is MPEG-1 Audio Layer 2, 16 bit, 48 kHz.
    My DV setting is PCM audio, which I think is a better quality format, right?
    Would there be any noticeable difference?
    Thanks.

    Capture your HDV material in the normal way and just drag audio only from the source monitor to the timeline.

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • File Data Source:  does not support any other host except LOCALHOST?

    I am using US 1.0.3.
    This exercpt is from the OTN iLearn Subscribed course titled "Oracle9i UltraSearch New Features" on operating system file access:
    "The file protocol is used only for the machine that launches the crawler. You can not specify any other host for this kind of URL, except LOCALHOST."
    Does it mean that US 1.0.3 can not be used to search other file servers on the network? For example, we have US 1.0.3 installed on a server S1 which is on a network with other servers (e.g. S2). I want to use US to search files in the folder myDir on server S2. So I tried to create a file data source with this URL:
    file://\\s2\myDir\
    But I got this error:
    Invalid file protocol URL: file//\\s2\myDir\
    Hostname of the file URL "file://\\s2\myDir\ is not "localhost".
    My question:
    (1) Can US 1.0.3 search files on a different server than the one US is running on?
    (2) If so, how to specify the URL using the above example for it to work?
    (3) If not, how about the newer version of US, 9.2 or 9.02? Can they be used to search files on other network servers/drives?
    (4) If no to question (3), is there any plan to support this in the future version of US?
    My comment: Not able to search other servers really limits the userfulness of US. I really hope Oracle will consider adding this capability.
    Thanks!

    More on my previous questions:
    Since I posted my previous question, I have read on the 1.0.3 online help that we can define remote crawlers to crawl "on a remote machine other than the Oracle Ultra Search database". So I assume this is how to make US to search on other servers. In the online documentation it also includes the following paragraph on "Remote Crawler Profiles Page":
    "Use this page to view and edit remote crawler profiles. A remote crawler profile consists of all parameters needed to run the Ultra Search crawler on a remote machine other than the Oracle Ultra Search database. A remote crawler profile is identified by the hostname. The profile includes the cache, log, and mail directories that the remote crawler shares with the database machine. "
    The Remote Crawler Profiles Page, however, displays only remote crawlers already defined and the page seems to be used just for editing the porfiles of these defined remote crawlers.
    My questions:
    (1) How do I create the remote crawlers and defines the profiles in the first place?
    (2) Where can I find more documentation on remote crawlers?
    (3) Once the remote crawlers are set up, how do I specify the file URLs for each remote crawler?
    (4) With US9.02 or 9.2, does remote crawler work the same as in 1.0.3, or are there any enhancements?
    Thanks!

  • Webelements : does not support when i add the data sourcce& view in HTML

    hi Masters,
    i am using sap crystal reports 2008 and when i add the data source and add tables to the report and i use web elements functions as my selection screen then it does not show i mean the script remains as it is and when i take out my data source
    then it works when i view it in HTML VIEWR.
    how can i make it to work despite me using the data soruce.
    thank you,
    pasala

    hi Pasala,
    this is due to the sap integration kit which does not support pass-through html. webelements require pass-through html in order to show up as html.
    here's what you can try though:
    1) install the latest sap integration kit on your boe system machine(s)
    2) if the above does not solve the issue follow the steps at the bottom of [this thread|WebElements: HTML not rendering when using Bex Query as Source]
    3) if 2 above doesn't work then see [this thread |Re: WebElements only show HTML tags (even after following WebElement guides)]as a last resort
    hopefully step 1 & step 2 will solve the issue.
    jamie

  • The JDK installed in directory /usr/java14 does not support the 64 bit data

    I'm installing the Java Add-in for the ECC 60 SR1 and suddendly during the instalation of the module for the creation od the db schema I recive the error:
    "The JDK installed in directory /usr/java14 does not support the 64 bit data model"
    I'm using the JSDK 1.4_2 SR3 for AIX, and till now this JSDK was the rigth JSDK for the installation.
    What does it means ? DO I have to download the latest JSDK for AIX ?
    The only thing changed at Os level before of that error on the JSDK is the installation of the latest perating system patch, but I should be very surprised if there is a relation with the error I'm reciving now.
    Regards

    I do have the same problem. For me the java worked with AIX 5.2 but failed with AIX 5.3
    bash-2.05b# which java
    /usr/java14/.private142/bin/java
    bash-2.05b# java -fullversion
    java full version "J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5)"
    bash-2.05b# uname -a
    AIX vcsaix101 2 5 00C888AC4C00
    bash-2.05b# which java
    /usr/java14/.private142/bin/java
    bash-2.05b# java -fullversion
    java full version "J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5)"
    bash-2.05b# uname -a
    AIX vcsaix11 3 5 00C7690E4C00
    Any idea?
    Regards,
    Venkat

  • ITunes downloaded, but does not open-Windows does not support Mac script

    I have recently bought a Toshiba laptop with pre-installed Windows Vista. I have managed to download iTunes, but I cannot open it. The computer posts a message saying that it does not support Mac script. I suppose that I need additional software (daemon tools?)? I would be grateful if someone could advise me in relation to this issue.
    Toshiba Satellite   Windows Vista  

    No, you should need nothing additional. I suspect you may have tried to download the Mac compatible version of iTunes & that's why your getting this message. Make sure you have checked the Windows version & nothe Mac version on the download page.

  • JDBC/RMI driver does not support BLOB data type

    WLS 5.1 JDBC/RMI driver does not support BLOB data type. It is said in the Weblogic e-doc.
    I am using DataSource for database connections, meaning JDBC/RMI driver is actually producing
    database connections. I need several columns of BLOB types in my Oracle tables.
    Should I use the "JTS" driver instead in order to have the BLOB types supported ?
    Thanks for help.
    [att1.html]

    The error java.rmi.UnmarshalException seems to indicate you are somehow accessing the data-source over RMI, this seems odd. Are you running TopLink on a client and trying to connect to a WebLogic DataSource on the server?
    Maybe try connecting directly to the DataSource without going through TopLink and see if you encounter the same issue.
    You could also look at the TopLink WebLogic Examples and see how their configuration is different than your own.

  • IMac PC does not support latest Adobe FP/can't watch Youtube/Only solution=new computer??

    I can no longer watch You Tube because the latest version of Adobe Flash Player
    will not download to a PPC. I run Tiger 10.4.11 (I know that's ancient but it works
    very well!) Does this mean the only way to view You Tube would be to buy a new
    computer? Everything runs perfectly except You Tube. I've never been a big fan of the site
    I still would like to have access to it but buying a new computer to get one site seems
    like a bridge too far. I have Adobe flash Player and but not the latest version.
    This problem only happened recently which seems strange. I even have a
    couple of videos on the site and have access to my account. I can get the site and my account but
    first the sound stopped playing a month or two ago but the videos still played. Now the videos
    don't play at all. From what I've heard, only a computer with Intel can accept the latest version of
    Adobe. Any thoughts or tips??

    It will work on a PPC Mac running Leopard, but not Tiger:
    I am in the same boat. I run a G5 PPC iMac and I cannot watch flash videos on the BBC website or on BBC iPlayer, and it struggles on YouTube.
    For reasons that passeth all understanding, they all work with the PPC version of Firefox, called TenFourFoxG5.app, once you have enabled plug-ins, as it does not natively support Flash.
    You can download TenFourFoxG5 from here:
    http://www.floodgap.com/software/tenfourfox/
    Now for the interesting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    I am using Flash 11.5.502.55 in TenFourFox and it works just fine. Here is how to get a working version of Flash Player:
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*.
    * Unhelpfully, if you want the last version for PPC (G4 or G5) Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications (including Safari) first before installing. You must also carry out a permission repair after installing anything from Adobe.
    After installing, reboot your Mac and relaunch Safari, then in Safari Preferences/Security enable ‘Allow Plugins’.
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, try the following solution which fools the site into thinking that you are running the version 11.5.502.55:)
    Download this http://scriptogr.am/nordkril/post/adobe-flash-11.5-for-powerpc to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.

  • ICal availability panel message "This Calendar does not support availability". Synch is OK with CalDAV. Don't know why - only since installing Yosemite

    My iCal is synching OK withe the CalDAV calendar it is linked to, but when I try and check availability of others to schedule an appointment, it says "This Calendar does not support availability" I've only started getting this since upgrading to Yosemite

    I have the exact same issue, I am working with apple support now, and they had me reinstall OS from recovery.  Still no success...

  • Exchange 2007 New Install Error - Read only MultiValuedProperty does not support this operation

    Existing Server/Exchange 2003 environment. New 2003 R2 x64 server fully patched and updated with no other apps installed attempting to install Exchange 2007 SP2.
    Initially I was getting the error "Could not find the default Administrative Group ‘Exchange Administrative Group (FYDIBOHF23SPDLT)’". This I
    fixed by completely uninstalling per this Microsoft article,
    this Microsoft FixIt article and this recommended blog post, ending with
    setup.com /preparead. I'm making progress, because now I'm getting a new error attempting the install. Specifically, Hub Transport installation fails with "Read only MultiValuedProperty does not support this operation."
    Executing
    setup.com /prepareSchema fails. I've set the msExchVer attribute for CN=Offline Address Lists to 4535486012416 and gotten no change, the install still fails. This
    Googled page exactly describes my problem, and all anyone could say was to add this version number. It doesn't work. Pretty much none of the threads I've read have a resolution beyond this. I'm stumped, any help would be greatly appreciated.

    What's the error message when executing  setup.com /prepareSchema fails? failed at Organization Checks?
    Could you please check whether you are on the right schema version?

  • Browser IE7.0 does not support WebDynpro in Quality and production only

    Hi All,
    Our portal version is NW04 SP15 adn NWDI is on NW700.We have Development ,Quality and production portal.We are using browser IE6.0 to see the WebDynpro application as we are unable to see the webdynpro application on browser IE7.0.We are gettimg message "Browser does not support WebDynpro".
    However few days ago suddenly we are able to see webdynpro application on browser IE7.0 in the Development portal only.When we open the quality and production url on the browser IE7.0 we are getting error message "Browser does not support webdynpro".
    Our Basis team askes us to analyze when we open the development url on IE7.0 we are able to see webDynpro application where as when we open the quality and prosuction url on browser IE 7.0 we are getting message "Browser does not support webdynpro"
    Can anybody tell why does IE7 work in development (PWD), but not in other EP6 instances quality(PWQ), production (PWP)?
    Thanks
    Susmita

    Hi
    Thanks for all your response.
    I have alredy gone through the forums why IE 7.0 doesnot support WebDynpro.What to do to make IE7.0 work for webDynpro(SAP note 991449).
    I have already told basis team regarding the behaviour of IE7.0.However basis team is sticking to their question what has done in the development so that IE7.0 is working for WebDynpro in Development.
    I will ask the patch level from basis team for Development,Quality,production.May be patch is different thats why Dev is working in IE7.0 and not in quality and production.
    I am sure the issue not related to code or iView property and related to IE property.Is anything done on the Development instance PWD at Server so that we are able to see webdynpro on IE7.0 for development?
    What i need to check in the url https://websmp106.sap-ag.de/pam as i am new to this url.
    Thanks
    Susmita

  • J2sdk1.4.2_12 does not support the 64 bit data model

    Hi guys,
    I need support for instalation NW2004R1 for windows x64bit.
    in the step "define parameters" I need set JDK Directory, I setting C:\j2sdk1.4.2_12 and when click in botton next, I receive the message " The JDK installed in directory C:\j2sdk1.4.2_12 does not support the 64 bit data model. Choose a different JDK. "
    I search documents but not found.
    Anybody can help-me ???
    thanks
    Henrique Mattos.

    Hi,
    You can get more information related to your issue from
      service.sap.com
    https://sdlc2e.sun.com/ECom/EComActionServlet;jsessionid=606D9ABC1A37F8F6D7517A9B77ACA38B
    Regards
    Agasthuri Doss

  • Data field FUNCTIONAL_YN does not support the default value (Message 14120)

    L.S.,
    When defining a data type of category NC, I would like to use data fields of type checkbox. At NC logging data entry the checkbox should be "checked" by default.
    When looking for the proper value to indicate that the ccheckbox is selected, I have tried values like: 0, 1, TRUE, FALSE, T, t, X, x ... etc. But always I got the same error message:
           "Data field FUNCTIONAL_YN does not support the default value (Message 14120)"
    What should be the right value?
    Kind regards, Hans

    Hans,
    It looks as if by means of GUI you cannot specify default state of being selected for Checkbox field. The default state is unselected.
    It is easier to invert the statement in the label of the field so that an operator could use unselected state as default.
    Regards,
    Sergiy

Maybe you are looking for

  • Passing javascript value to jsp param

    Hi all, I want to be able to pass the return value of function getUrl() to jsp param...Is this a correct way? it's not working.... What should I assign to the value of param? <HTML> <HEAD> </HEAD> <script language="javascript"> function getUrl()     

  • Lack of Broadband Connection

    I have had problems with my broadband connection for over a week now. I have rung BT on two occasions and spent up to 45 mins and 30 mins respectively and been passed around all the departments as no-one appears to have any idea what is the problem.

  • How to Determine the levels of a cube in SQL

    Hi i know to determine the no of cubes we could use select * from all_cubes and its dimensions we use select * from All_cube_dimensions how do we determine the levels of a dimension??

  • KM functionality in web dynpro. Missing file: TutWD_KMBrowser_Init.zip

    Hi,    in pdf documentation "Using Knowledge Management Functionality in Web Dynpro Applications" is mentionated TutWD_KMBrowser_Init.zip file for downloading, but I can't find it following the path suggested. Could you help me? Thanks, Luca Grilli

  • How efective set price to purchase order

    I have created purchase order with 600 lines where isnt set price for each item. Now I want through UI API set the correct price to each price cell in row based on width and height of item. Now Im going through all lines in matrix, get dimensions, ca