Treat one power query table as source for another
Hi,
I have a Power Query Table named as Final Table - this table has inturn been loaded to the Data Model. I would like to use this Table (Final Table) as a source for creating another Power Query Table (I want to perform further actions on the
Final Table to create yet another Table). So I just want to know what I should specify in the Source (the first line after the Let statement) in the Advanced Editor.
I do not see any option in the Power Query Ribbon to create an existing Power Query Table as a source.
Thank you.
Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com
You can just use the query name in your new expression. Since it has a space, write #"Final Table" whenever you refer to it.
(Note that you probably don't need to load this table to the Data Model, but only the one which includes all your transformations. To unload the first table, open Workbook Queries pane select Final Table and after right click, select "Load To".
In the Load To dialog uncheck the Load to Data Model option).
Example:
let
source=#"Final Table"
in source
Similar Messages
-
How to use output of one query as an input for another
Hi Gurus,
can you give me any links on how to use an output of one query as an input for another (preferably if this can be done in a dynamic/on the fly way)?
thanksYou can use Replacement Path Variable for this purpose. See this detailed documentation.
http://help.sap.com/saphelp_nw04s/helpdata/en/bd/589b3c494d8e15e10000000a114084/content.htm
Abhijit
Edited by: ABHIJIT TEMBHEKAR on Nov 19, 2008 9:48 AM -
How to use one variable as a default value for another variable?
Hi Experts,
Is it possible to use one variable as a default value for another variable?
For example:
Variable 1 = current calendar year month
Variable 2 = mandatory input ready variable for calendar year month
I want to use variable 1 as default value for variable 2, but also have the ability to change the month if required.
Thanks!
Kathrynu can use replacement path variable
in that case u can replace the values of 1 variable with the another variable...
but u cannot do this setting
u cannot make variable 2 as mandatory
u cannot enter value for variable 2
because by default it will take the value of variable 1
u have to make follow settings
variable 2
name , technical name
processing by = replacement path
infoobject = ocalmonth
next tab
replaced by another variable
variable name
offset start , offset lenght
save and hit okey -
Hi,
I want to extract data from a query into a transactional ODS via APD. The query is based on an InfoSet that joins 5 InfoObjects.
But in APD, I cannot select this query as data source!
Is APD not able to work with such queries?
Thanks for any help!
Regards
DorisHi,
Go through the below the link for How to Papers
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/ee14e25d-0501-0010-11ad-8eb2861a7ec0 [original link is broken]
Thaks
DST -
Filtering a Power Query Table Based on a Column That's a Table
I have a table produced by an outer join ...
"Bananas" is not one of [My Fruit] values. I'd like to filter my join results to only include [My Fruit] values, and I thought I could do that without expanding "NewCol".
Am I mistaken in my belief that such a selection can be done without expanding the "NewCol"?hi Mark Weisman,
I suppose your [My Fruit] value is single values. You can try below :
Table.SelectRows( Join1, each List.Contains( [NewCol] [Fruit] , [My Fruit] ) )
Note: [Fruit] is the column that contain value want to filter.
Below is my testing sample :
let
Source = Table.FromRows({ {"North", "Apples"}, {"North", "Orange"}, {"West", "Bananas"},{"West", "Lemon"}}, {"Region", "Fruit"}),
Group = Table.Group(Source, {"Region"}, {{"NewCol", each _, type table}}),
Select = Table.SelectRows( Group, each List.Contains( [NewCol] [Fruit] , "Lemon" ) )
in
Select
Regards, -
Use one layer as alpha map (mask) for another - how?
Hi, I do not understand how to do this in Photoshop. In After Effects, which I use a lot, this is easy. For example, I have one layer with transparent, semi transparent an opaque areas. I can then tell AE to use this layer as an alpha channel map for another layer. But how do I do this in Photoshop? I understand how to use a layer mask and draw on the same layer to create treansparent areas. But I want to use a separante layer, or even a separate image.
I use Photoshop CS 5.
IngvarHello!
And by "look up", Chris means in the Adobe Community Help application, or in the online help:
http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e 41001031ab64-7853a.html
I immediately flagged the answer as correct yesterday, but thanks anyway -
How can I use a table as source for scrolling text
Hi,
I have a javascript scolling news on our portal page and anytime I need to update the news I have to update the portlet. Is there a way to use a database table to store the news and get it displayed automatically (as a scrolling text) after committing the transaction.
Thanks,
LeonardWhat do you mean by updating the portlet - page refresh?
The nature of HTTP is that the client has to initiate the communication. As long as the browser doesn't submit a new request for the page, the content won't refresh.
There are tricks, though that you may consider... such as placing an iframe on your portal page that "pings" the server and checks whether there's any change on the server side. Another option could be using an applet. -
Overview of the architecture
We have Site (Primary & DR)
2 Database copies in primary site and 1 Database on the DR site (Primary site 2 copies one mounted and second healthy & on the DR site one healthy copy of Database)
Recently Due to Network Problem the DR copy got in to the easyncronous state and was removed from the DAG.
As company does not want the downtime we have followed the below steps to Restore Database at DR site.
1)Stopped the backup to Not trucate the log file
2)Took Full backup and in the restore mode we shipped the full backup to the DR site.
3)As the above process needs 2 days, manually copied the some Logs to the DR site (IN some drive as much possible to reduce seed time)
4)Added the mailbox database of the DR site back in the DAG as its seeds from the start, we manually suspend the process post the Database folder hierrachy gets created
5)Added the EDB and logs files in the recently created folders
6)Resumed the Database seed, so only the remaining logs were copied and seeded from primary site to DR site, In some hours DR site databse became healhty with no copy queue and replay queue.
7)trucated the logs which synced using DAG
Now Dag has copies as initial setup but the since we followed the above process the primary site healthy copy is acting as the seed-source and logs not truncating for the database
When restarts the Replication services on the Primary site server with healthy the state becomes healthy but again after some time it becomes seed- source.
Wanted to know when DR site copy is in healthy state why its acting as a seed-source continueously
Need Experts advice in manage Database copies in healthy state...
Thanks in AdvanceHi,
Based on your description, sometimes the content index state of passive database copy in primary site is healthy, but sometimes the state is crawling.
You can use the following command to reseed the catalog only to check result.
Update-MailboxDatabaseCopy -Identity Database -SourceServer EX -CatalogOnly
Best regards,
Belinda Ma
TechNet Community Support -
Safari won't open for one user...but will for another
Hi, I have been running Safari successfully on my iMac for as long as I can remember. On Leopard 10.5.6 (because of compatibility issues I am no higher...). Anyway, yesterday Safari 'unexpectedly quit' one day and has stopped working completely. I click the icon (from either the dock or applications folder), it opens and I get a blank window and nothing else. I click and hold on the icon and see that the application is not responding.
For the purposes of troubleshooting I logged in as another user and tried Safari: boom, opened straight off. So, I tried deleting:
1. safari.plist file
2. Cookies folder
3. Bookmarks
Ummm...any other ideas anyone?HI,
You need to update your system software to 10.5.8 in order to run the latest version of Safari as noted here. http://www.apple.com/safari/download/ *Don't download from that link.* Go to your Apple Menu/Software Updates.
*This update may restart your Mac several times after the update. It's okay!* Just let your Mac do it's job.
After you have finished with the update, repair disk permissions.
Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
Carolyn
Message was edited by: Carolyn Samit -
Local Cube Filtering / Add SSAS database as a data source for another SSAS project
I need to generate a local cube using a fully processed SSAS database deployed on SSAS server. However, I need to restrict the data downloaded in the local cube while doing this.
I have restricted access to the dimension data by mapping data to UserName/CustomData & using
dynamic role-based security. When I generate a
local cube by executing an AdoMdCommand using xmla structure of this online cube, the .cub file thus created also contains the data that shouldn't be accessible to the user creating the cube.
I am aware of
CREATE GLOBAL CUBE statement, but since it has some limitations such as we cannot have DISTINCT COUNT measures, I cannot use this statement because my online cube contains some important measures that use the DISTINCT COUNT aggregation. Plus, when I include
a dimension with huge amount of data in it, the execution of command times out.
So I am trying out an approach wherein I create a different SSAS project and use the existing SSAS database as a Data Source and then carry out the filtering to output the .cub file using xmla structure of this project database. The problem is, somehow SQL
Server Data Tools 2012 does not recognize another SSAS database as a valid data source.
Could someone please let me know why can't we do this or suggest me any alternative approach to implement this?
Regards, <br/> AkshayHi David,
According to your description, you are creating a SQL Server Analysis Services project, now what you want is using SAP HANA as the data source, right?
SSAS support many type of data source. However, as you can see on the link below, SAP HANA data source was not listed on that link. So this type of data source is not supported in current version of SSAS. Microsoft will update that document when it is supported.
http://msdn.microsoft.com/en-IN/library/ms175608.aspx
Thank you for your understanding.
Regards,
Charlie Liao
TechNet Community Support -
Using the output of one layer as an alpha channel for another
I was messing around last night trying to create my own sharpen edges filter. I duplicated a nested layer, applied find edges to the top one, then used the track matte filter on the one below, set the layer above as the target for the effect, and chose luma. Could not get it to work. I then attempted to make the layer above have alpha by using an luma key and changed the track matte to use alpha, but that didn't work either.
Is there a way to do this?Be easier to understand if you showed what you are trying to achieve.
I got lost half way thru 2nd sentence. -
Can one PPC Mac run Disk Utility for another's HD?
I have a PPC PowerBook that needs help. The Admin users are getting corrupted for some reason. I can still use other Users in Safe Mode.
I have another good PPC G3 desktop. Both running 10.5.8.
I can mount the bad HD on the good Mac's desktop but I can't run Disk Utility for it.
I've mounted with Ethernet and USB. Do I need Firewire? Do I need do try to use Target Mode?
Basically, I'm trying to use the good Mac as a startup disk for the bad one, I think.
Easy way? Thanks! JP
ps: My hunch is Firewire. I don't have any so I'm going to buy a cable soon. Unless someone here stops me! : )Yes, you need Target Mode Firewire on both, a FW cable, then Disk Utility should be fine from one to the other.
Target mode...
http://support.apple.com/kb/HT1661
Sometimes Laptops need to have the FW cable unplugged & replugged after they'e in t mode to have it finally show up. -
Report results as a data source for another report
Hi,
Is it possible to use results of a report as a data source?
Thanks,
Alexhi,
what do do you mean by that???
i hope i helped....
http://greekoraclebi.blogspot.com/
/////////////////////////////////////// -
I have 2 apple id's (unfortunately), and the one i wanna get rid of has an icloud email address as an alias that i would like to use on my new apple id as a regular email. Is there any way to do this? I deleted the alias from my old account but its somehow still linked.
I'm afraid you can't transfer an alias (even if deleted) to another account, or make it into an ID itself; and once deleted it can never be reactivated.
-
Using one laptop as an external display for another?
The title says it all really, can this be done?
Not directly, no. But you can approximate the function with Screen Recycler. I haven't tried it myself, but it's worth a look.
Maybe you are looking for
-
We are looking at how best to design our Sharepoint 2013 and I have a few questions re Libraries. We are a Public Sector business- and have 7 main Business areas (Adult and Children services, Environment, Transport, etc.) I am considering that they e
-
Out of the blue yesterday, when I launched iPhoto, it would not launch. The application seems to start to launch and then all that appears is the iPhoto window with no photos at all and the spinning beach ball. It never loads the photos in our Librar
-
How to access module parameters?
Hi, I'm developing own module for XI File Adapter. I found in the weblogs how to get source file name. Thanks. But how do I get custom parameter specified for the module? Where could I check all readable parameters, apart from source file name? For i
-
I have a new iMac with the new aluminum keyboard. It's wintertime, which means there's a lot of static in my place. I've already been shocked several times today touching the aluminum part of the keyboard. Usually, during the winter, I try to dischar
-
Dynamic Title Tags in Webcenter
This is a newbie question. But I am going to be creating a complete external commercial website using Webcenter/jDev. I see nothing in the documentation about search engine optimization, and more importantly, creating dynamic URL-based title tags. Wi