Upgrade existing visual - powerbi

I would like to take existing visual in PowerBI (table) and add a new (simple) feature. Can this be done?
I can create new visual in PowerBI devtools but in this I can not use existing visual. If I take it from github, it is not just one ts file, but many related.
Or can I create visual which will extend (like in OOP) current visual? Which would call current update and do something else.

Related

Rename columns in dataset without breaking existing reports

We have come to the situation of wanting to rename some columns in our PowerBI reports for clarity reasons and also replace some raw numbers with measures, so we can add logic to them. However renaming fields breaks the visuals in reports in the PowerBI service that have been created based on the dataset.
Fixing all the visuals by hand is absolutly not feasible for us, as we have hundereds of reports with dozens of visuals each, over multiple datasets. Is there any way to solve this, maybe edit the deployed reports programmatically somehow or are we just stuck with the field naming and layout we chose?
Thanks for any help!
We found a solution to this, while it might not be a straightforward process, it allows to programmatically alter reports and fix them in JSON format. The command line toolset pbi-tools allows to decompile and recompile reports like
pbi-tools extract reportfile.pbix
pbi-tools compile reportfolder
and create a series of editable JSON files. In our tests it was even possible to substitute a data model with this approach. Also this is useful for version control of reports.
Credit to AlexisOlson on the PowerBI forum.
Fixing all the visuals by hand is absolutly not feasible for us, as we have hundereds of reports with dozens of visuals each, over multiple datasets.
The only general solution to breaking changes in a shared Dataset is to introduce a new version, and keep both for a period of time.
For this specific change, you could introduce a new Perspective in the model (using Tabular Editor) which new reports could choose.
Another option if the Dataset is large, and you don't introduce any structural changes, is to have one model reference the other model using DirectQuery, which is currently a preview feature.

Add custom javascript snippet/file to handle dynamic translations - load in Power BI Service

I've read multiple sources about including javascript in Power BI and how this is done. What I've found so far is, that this can be achieved through the Power BI Javascript API or through a Custom Visual (I'm rather new to Power BI so please correct me if I'm wrong).
However, I haven't found any source stating whether it's possible to alter other visuals using javascript implemented this way?
The goal is being able to dynamically translating headers of tables (no native way in Power BI of doing that yet except of duplicating data as far as I know; which we'd rather avoid).
So in short the questions is:
Is it possible to have any javascript implemented through either a Custom Visual or the Javascript API that can alter and translate the headers of a table on a given page in the report?
Your custom visual would not be able to affect other visuals in the way you're hoping for.
While it's not dynamic, you can always alias any fields or measures added to a PBI visual by double clicking the item in the field well and typing over the default name.

Can I change the "redmine" interface elements with "visual studio" or another system?

I use
Visual Studio 2015
Can I change the "redmine" interface elements with "visual studio" or another system?
For example, for the "task creation form" I want to add "buttons" or additional "tab bar".
Can this be done by analogy with working with "Windows Form"?
I mean drag the button onto the form and add the code for the button.
PS
I start to study programming, I apologize if the question is inaccurate
To change Redmine UI, and add/remove new features, you would have to learn html/css, ruby, and Ruby on Rails framework.
Once you learn them, best way to modify Redmine is by making plugin which adds functionality you want, and preferably share that plugin with others via github and redmine's plugin registry listed here: www.redmine.org/plugins
In that sense, you can use Visual Studio, as code editor, or any other text editor, as long as they have nice syntax coloring, code indenting, and preferably function and variable name completion...

Power BI - change existing visuals

I would like to modify the existing table visual to add a text instead of the whole URL when showing a column as a URL.
I modified it to my needs in Visual Studio, it works, but how would I export it to pbwiz, in order to use it in Power BI ?
Translating our built-in visual into a visual you can use through our developer tools will require you to trace many dependencies and integrate those into a single .ts file. I think it would be better to share your repo and approach with us by filing an issue in the Microsoft/PowerBI-visuals repo and we'd figure out if the change you're making is generic enough to include in the base repo.

Adding a custom "template group" in Word 2013

Is it possible to add a custom template "tab" (for lack of a better term) to the start screen in Word 2013? In other words, is it possible to add another section in addition to "Featured" and "Personal?" in the interface below?
I'm interested in the feasibility of adding a, say, "Legal" tab, to surface templates developed specifically for an organization's legal department. I'm aware that a custom template directory can be pushed down via domain policy (read: registry edit) such that custom templates appear under the "Personal" tab, but that's not really ideal given the administrative overhead. Not to mention that the templates aren't "personal" at all.
Ideally, I'd like to accomplish this via an Office app. Looking at the JavaScript API for Office documentation, however, it doesn't seem immediately possible.
This post (via this SO question) describes the registry change and seems to suggest that customizing the "backstage" isn't possible.
Is such a customization possible? If so, via what means of customization? Using an Office add-in (managed), an Office app, some other registry modification...?
(And yes, I'm aware that "add-in" is the new term; for the sake of clarity I use the term "add-in" in the question to refer to the managed add-in project template available in Visual Studio 2013 as opposed to the Office app or Cloud app for Office templates)
You won't be able to add a custom group to the available template using the JavaScript-based Office Add-ins (This technology is rather limited in functionality - it's main advantage is that it can run cross-platform).
The approach to add custom templates is to create a Spotlight provider. It is described in detail here:
Deploy custom templates in Office 2010
The article talks about Office 2010, but it works also in Office 2013. You only would need to change the version number in the Registry Keys from 14.0 to 15.0.
Yes, I believe implementing a Backstage tab is possible by creating a Word 2013 VSTO add-in using Visual Studio 2013. (This is also possible by embedding Ribbon XML into a VBA add-in template that loads on start up as well.)
I will preface the course of action I outline below by saying that I think it would be easier and possibly provide a better UI experience to create a custom Legal ribbon tab with a gallery control populated by images of the templates. (A Custom Task Pane might also provide a good solution, depending on the use cases.)
Preparing Word
The screen capture you provided is the initial Backstage view that appears when Word 2013 is launched. (This view only appears at launch and future access to templates using this Word instance will need to be via the Backstage New tab.) As this Backstage "splash screen" cannot, to my knowledge, be modified, the first step is to disable it by going to File|Options|General|Startup Options and uncheck Show the Start screen when this application starts. This will cause Word to launch to a blank document and remove this splash screen permanently. And this setting can be pushed down to users PCs via group policy. (If you disabled this setting and then went the custom Ribbon tab route, you could have your templates displayed visually in the ribbon upon launch.)
The Approach
With the Backstage "splash screen" disabled, I suggest hiding the built-in Backstage New tab and then replacing it with a custom New tab that features your legal templates.
The Word Backstage view is altered via Ribbon XML code. This code is either embedded in a VBA template add-in or delivered via a VSTO add-in built in Visual Studio with C#, F#, or VB.NET. To hide the built-in New tab, the XML would contain this code:
<tab idMso="TabOfficeStart" visible="false"/>
You can find all the control identifiers here:
Office 2013 Fluent User Interface Control Identifiers
The Steps
Create the add-in project in Visual Studio (or the template in VBA)
Write the Ribbon XML which will remove the New tab and insert your custom tab with legal templates
Customizing the Office 2010 Backstage View for Developers (Applies to Office 2013 As Well)
Create Custom Tabs in the Office 2010 Backstage View (Applies to Office 2013 As Well)
Deploy the add-in
This should get you started, but you may need to seek out other articles on add-in creation and Backstage customizations.