how to change the location of a datasource in Power BI (Desktop) - powerbi

I have built a power bi desktop dashboard
it was for myself only so i put the datasource (.mdb) in my desktop
Now other employees want this dashboard.
but the problem that powerbi cannot find the source as it is pointing at my desktop ( even if other put the source file in their desktop, still cannot find it)
i think it looks at "c:\users(my name)\desktop
I want to change the data source location so it points at c:\data so everyone can create this folder in their computers
How to do that?

Create a parameter for where you want to look for the file.
You can then edit your query to use the parameter.
Once done you will be able to edit the parameter from the main interface. Users can be shown how to set their own path.

Related

Change the edit link image in oracle apex 5

I created an application with oracle apex, and I want to create an interactive report. So created a page by following the wizard. In one of the steps, it asked me to choose an image for the edit link, as shown in the picture below.
My Problem is that, now, I would like to change the image of this edit link, how can I do this?
If you edit the IR's attributes, under Link Column you will see something like this:
Or if using the newer Page Designer you would see this:
Change the name of the image file (e2.gif here) to the one you want.
If you don't know the name of the one you want, create another page temporarily and use the wizard to get the one you want, then have a look to see what the filename is.

I am facing difficulties to set parameters in power BI reports and in dashboards also

Currently, I'm using the Power BI Designer (newest version). I'm completely new to it. I'm wondering how to set a parameters in reports and dashboards.So please help me..
Open your report in Power BI desktop application, then go to tab:“Manage Parameters” dialog in the Query Editor window.
and into that dialog you can create new parameters and specify metadata and settings for new parameter:
After defining one or more parameters and clicking OK in the “Manage Parameters” dialog, users will get back to the Query Editor dialog and will see a new query defined for each parameter. Then, that parameter can be referenced from appropriate query.
Right now, reports support filters that you can set in the filters pane. Dashboards do not support filtering. Supporting more traditional parameters is something we're looking at. Suggest you create an idea on support.powerbi.com so we can keep you updated.

Limit items on external list using BCS Filter

I have an external list which I want to filter without user input but try as I might I cannot see a solution??
In my list I have a series of names and an archive flag, I want to show the names in a picker where the archive flag is set to false which I thought would be simply a case of setting a default value on a filter but no matter what I do. The filter will not work unless there is a user added value
grateful for some advice as I am slowly going cuckoo
I am using on prem SP2013 with the BCS set to a SQL 2012 database
If you are creating the External Content Type from SharePoint designer you can assign a default static value and even create a more complex filter with variables. Be aware that if you are creating filters they can be wrong and you need to manually edit the *.ect file. I have an article in my blog about that, unfortunately it is in Swedish and about ODATA as the datasource, but the principle is the same. Perhaps Goog... translate is able to help you a bit on your way: https://itgeneralisten.wordpress.com/2015/03/10/sharepoint-hosted-app-odata-och-filter/

Control SharePoint to MS Project column mappings when synced from external Project file

I'm syncing an external Project file to a SharePoint list. This list was created by a third-party. When I sync the file, there are a set of column mappings that appear inside the Project file. Some of these columns are custom columns created by the third-party (so I'm not talking about just standard SharePoint columns).
Does anyone know how this is done? I've looked at the site column definitions and I don't see anything special that would indicate Project column mappings. I would like to add additional columns and have them appear automatically in the Project file as well (the Project file is generated by Team Foundation Server), and would like to mimic what they have done for forward-compatibility purposes.
I've put out a question to the vendor, but thought I would post a question here in hopes of getting a faster response (assuming they are using something out-of-the-box and that they didn't hack this solution together).
I figured it out.
You can get the field mapping using the following code (where list is the SPList that represents your task list):
list.RootFolder.Properties["WSSSyncFieldMap"];
If a project file has been synced with the list previously, then the above will return an XML fragment (not a full document) that describes the field mappings. If no such sync has been done, then the property will not exist!
If you open Project and view the mappings, you will see some are not allowed to be changed. These mappings are always assumed by SharePoint and they will not appear in the XML fragment.

How can you edit Sitecore desktop shortcuts?

Anyone know how to edit the name of the Sitecore desktop shortcuts? I'm using the Advanced System Reporter module, and creating a desktop shortcut from there, but now I can't change the name of the item.
I know that you can right click on the Sitecore desktop shortcut and choose properties so change the information of the link....but how can I change the name of the shortcut?
The properties have a field 'Name', that even when I change it, the shortcut doesn't change (even after a desktop refresh).
I tried changing the 'Link' field on the properties as well, but then the link disappeared.
Do these exist in the core database somewhere? Can I get back the one that I just lost (by changing the Link field)?
Through further research, I found that for normal links, the name can be edited by right clicking the link, selecting 'Properties' and changing the 'Name' field.
Unfortunately, Links generated through the Advanced System Reporter don't update on the desktop when this Name property is changed.
It seems that the links for these desktop shortcuts are a combination of items in the core database and values in the User profile in the aspnet_profile DB table (also in core, but only viewable through SQL).
This value is stored in the PropertyValueBinary field, which, as the name suggests, is all in binary, and can't (or shouldn't) be edited.
One way around this is to:-
Create the desktop link, which will be called something by default (i.e 'SalesReport').
Open up the core database in Sitecore, and navigate to /sitecore/content/Applications/Advanced System Reporter/Links. Then find the folder for your username.
Find the item that was created for the link (in this case it'll be 'SalesReport'), and change the value of the field 'Display name' to whatever you want the link called (i.e 'Sales Report for May'.
Note: You may want to change the name of the item as well, so that it won't get lost in other desktop links created in the future and will be easier to find later. In this case you will need to:-
Go back to the desktop, right click the shortcut and choose Properties.
Manually change the end of the 'Link' field to the name you want to call the item (i.e change it from 'SalesReport' to 'Sales Report for May'.)
When you click OK, the shortcut will disappear. This is expected.
Open up the core database in Sitecore again, and find the item you're changing. (i.e /sitecore/content/Applications/Advanced System Reporter/Links/SalesReport
Change the name to exactly what you changed it to in step 2.
The link will reappear on the desktop, it'll have the correct name, and will be easy to locate in the Sitecore DB in the future.