Comments (12)
Thanks for this suggestion. I think UI Automation is a little outside the general scope of Tabular Editor, and in my experience, it is also difficult to test and maintain.
I would much rather see that Microsoft provides an API that allows to programmatically do everything Power BI Desktop can do, such as making supported changes to the data model, source queries, reports and saving the .pbix file. Then, Tabular Editor could use this API for exactly this purpose.
If you agree, I suggest you go and vote on this idea, suggested by Marco Russo.
from tabulareditor.
do you think https://msdn.microsoft.com/en-us/library/mt577156.aspx. may work, i presume the interaction between PowerBI desktp and SSAS is using standard AMO functions
have this project https://github.com/akavalar/SSAS-on-a-shoestring , it seems he manage to save a file even when it is on sharepoint mode ?
from tabulareditor.
I will have to look into that, but I think this functionality is not related to streaming to and and from the .pbix file.
from tabulareditor.
Just my two cents on that: the project https://github.com/akavalar/SSAS-on-a-shoestring provide a way to violate the Microsoft license agreement. Creating more tools of such a type is the easiest way to make Microsoft closing the door, and no longer provide a way to interact with Power BI Desktop. I asked to MS to make Power BI Desktop more open, providing an API to it, and I hope there will be more ways to interact with it, but it is not a good idea to workaround a license agreement.
from tabulareditor.
Marco
sorry i reference that project only for this snippet of code
AMOImageLoadInfo=AMO.ImageLoadInfo("SomeDatabaseName","SomeDatabaseID", Stream, 0) # 0 = ReadWrite mode
AMOServer.ImageLoad(AMOImageLoadInfo)
AMOServer.Refresh()
all i wanted to know is how to backup a tabular instance if it is in share-point mode, i don't think it is illegitimate to ask for this ? I never suggested to launch an independent instance of SSAS as it is clearly in violation of the license
from tabulareditor.
I was referring to this sentence: "the changes made to PBI Desktop are not save in pbix"
Technically forcing something through a TOM call could work, but it's unsupported and it could break the PBIX file. I would be careful in providing a tool that can destroy a pbix file (well creating a copy could be a workaround, but I don't think you can automate a Save As). I have seen a workaround using keystrokes - it's relatively safer, but it's not something I would rely on in a production environment. It could work for development.
Regarding the backup when you are in sharepoint mode: in theory, you don't need it, because PowerPivot for SharePoint is automatically manage by restoring an existing model, and keeping an updated version of the data in the SSAS database. However, a copy of updated data is pushed back in the Excel file already, so why you need to do a further backup of the SSAS Tabular database?
Thanks!
from tabulareditor.
thanks for the explanation, the only reason i asked for sharepoint mode is, as you know ; the local instance of SSAS launched by PowerBI desktop is in DeploymentMode = 1, and I could not find any documentation regarding the backup and restore, i wanted just to know how it works, obviously my ultimate purpose was saving a pbix.
so probably i was asking the wrong question, but honestly i don't think there is harm in asking.
from tabulareditor.
Marco
really there is no malice intention here, I already proposed an idea to have a paid non throttled Power BI Desktop Pro edition
PowerBI desktop is such an amazing product, it will be unfortunate to keep it only an authoring tool, in many situation SSAS or PowerBI.com are not an option.
from tabulareditor.
I know, and don't worry, there are no wrong questions!
I just wanted to clarify why such a feature could be harmful for a tool like Tabular Editor and for many other community tools. In some way, we are always in a "gray area" by using unsupported feature. Crossing the line of legal actions would be an issue also for the "good" usages of these tools. For this reason I tried to address the discussion. If Microsoft don't want to make a feature open, we can discuss the issue with them, even in a strong way, but providing an easy way to hack the licensing term is definitely the wrong choice, because of the long term reaction that could affect anyone (including regular users that pay licenses and just want a more productive development environment).
I hope this clarify my position.
Thanks for your contribution - it's good having feedback and new ideas!
from tabulareditor.
Marco
I see your point, sorry i never really thought about the side effect of this particular feature. requested closed
from tabulareditor.
No problem - thanks!
from tabulareditor.
Hi Marco. Thanks a lot for your insight and comments - really appreciated, and I agree with everything said here. I've updated the docs to emphasise that using Tabular Editor to make TOM changes to a .pbix file is unsupported, and could corrupt the file.
from tabulareditor.
Related Issues (20)
- Extended Properties on Perspective are not serialized / saved to folder HOT 2
- Tabular Editor to Dremio connection HOT 1
- Automating Mass Testing of DAX Expressions for Bachelor Thesis. HOT 1
- Can't save down Model opened from DB as a local .bim file HOT 4
- Duplicate Table doesn't work HOT 1
- Parentheses added to measures on Power BI HOT 3
- Unable to load Tabular Model (Compatibility Level 1200+) HOT 1
- Serialize Measures and Roles as their own TMDL files HOT 1
- Object dependencies run out of memory (endless loop?), Tabular Editor Crash HOT 9
- IT department rejected Tabular Editor 2, Wants newer .Net Runtime more recent version from 4.6 HOT 1
- Tabular Editor not opening HOT 10
- Unable to add or delete columns or tables from model if model is opened from TMDL folder. HOT 3
- Parameters not recognized when published to Power BI Service HOT 1
- DependsOn.Deep does not show for objects with the same value as a keyword HOT 2
- Power BI Service cannot be refreshed when `MSOLEDBSQL` driver is used, it seems to require `System.Data.Sqlclient` -- guidance needed HOT 2
- Error occurred during deployment Invalid Token HOT 1
- Unable to add fields in the Value section of Matrix after adding Calculation Group HOT 3
- Export BPA results HOT 5
- CLI - Save as TMDL HOT 2
- Importing from Fabric Warehouse HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabulareditor.