Environment variable %COMPUTERNAME% into a txt cube
Hello,
I'm trying to get the returning value of %COMPUTERNAME% variable in a data flow. I tried to the following solution :
- %COMPUTERNAME% and "%COMPUTERNAME%" in the target section and in an algorithm
- @COMPUTERNAME and "@COMPUTERNAME" in the target section and in an algorithm
- Using the ETL in a datareader with :
- %COMPUTERNAME%
- "%COMPUTERNAME%"
- @COMPUTERNAME
- "@COMPUTERNAME"
None of the above tries worked. Do you have any solution ?
USE CASE : I export a dataset with a dynamic path using %COMPUTERNAME%. I would like to feed a blob cube with this patch. So, I have multiple instance, dev_1, dev_2 and prod and would like the blob cube to be feed automatically without changing the instance name when migrating from an instance to another.
Thank you very much,
Answers
-
Hi @Nathan ,
you're right, this substitution will work in extract/import scenarios only.
Please refer to the manual page
This describes the use of the environment variable for exporting data and it works similarly for the import, but only in procedures.Best,
Helmut0
Categories
- All Categories
- 2K Forums
- 1.8K Platform
- 159 Academy
- 326 Resources
- 1 Board Knowledge Base
- 50 Best Practices
- 49 How-To Guides
- 19 Board Advocacy Program
- 193 Blog
- 4 Groups Hub
- 4 About Groups
- New Community Members
- DACH
- Japan
- 4 Community Captains
- 1 About Community Captains
- 2 Meet the Community Captains
- 1 Topics & Thought Starters
- Learn from the Board Captains
- Release Notes
- Academy
- 2 Board Academy
- 8 ILT/VILT Course Catalogue
- 13 e-Learning Course Catalogue
- 4 Academy Forum
- 1.2K Idea Exchange
- 337 Partner Hub
- 94 Support
- 14 FAQ's
- Customer Support Portal
- 54 Support Articles
- BEAP