I have a power BI dashboard connecting to SSAS Data Model ( via Live Connection)
We have a requirement to display the images on Power BI App.
We have a dimension table having Account Name and every account name will have an image/logo.
Initially – we built a solution to store the logos in Sharepoint and use that Image URL in our SSAS Data Model and we made sure that every user who wanted to view the image/logo in dashboard has access to Sharepoint as well.
This solution was working for few people and few folks were seeing the images being broken.
We worked with Microsoft team and we were told that images display works only – when the SharePoint location is opened for all (Anonymous authentication ) .
Unfortunately – we are not supposed to open the Sharepoint to anonymous authentication. So we tried below things
• We opened Sharepoint location to Everyone ( i.e, everyone in our organization ) - Didnt work
• We tried performing the same via ( File share available on Power BI workspace ) - Didnt work
• We also explored giving BLOB Storage with anonymous – but again , we are restricted to open up this data in anonymous mode. Hence BLOB option is also ruled out
So – now , I am looking for a option – that can help my users to view the images on Power BI app.
Btw – we are on Power BI Premium . Is there anything more Premium offers in resolving this issue ?
Below is the screen shot from Power BI app ( where a restricted logo is shown and not the actual logo) . We also made the same user directly access the Sharepoint URL – where the image is stored and that is working fine.
Hi I had a similar issue which being cannot upload images to the public domain as you explained in the problem. What I did was upload all the files into SharePoint with an ID of the accounts and get those into a table in power bi. Convert those images into base 64 and showed them.
Please follow these steps to get images into base64 and import them into PBI. I hope the image is not too big (below 32 KB) otherwise this solution is not good
link
Related
I'm very new to Power Bi. I've made a bit of progress in another question I asked on here, and I'm able to:
Create a Power Bi file that gets data from a .csv stored on my Onedrive
Refresh that Power Bi dashboard (the one online, after its been published) and it'll reflect changes that have been made to the .csv
Now the next problem:
The way I understand it (correct me if I'm wrong), if you'd like to refresh (or schedule refresh) a power bi dashboard online that gets its data from an excel/.csv that lives on your computer's C drive (instead of Onedrive) you need to have a Data Gateway.
Under this assumption, I've installed the Data Gateway and I believe I have it configured. It shows up both online on the Power Bi Service:
And on my pc:
Now per this article I would 'add a data source' on the power bi service, and here's where I get stuck:
Here are my available options for configuring the data source:
it seemed like my data gateway was found (Joes Computer), I only have the windows authentication method available, and then I put in my username and password (same username and password I logged into gateway with) and I get this error:
I've tried my username, I've tried my user name with the domain in front of it, I've tried my email, etc... etc.. etc..
What am I missing here?
My problem is very easy: I'm retrieving all stocks about lithium on the ASX market from this web page.
I created a Power BI dashboard that you can visualize here.
As the source is Web I would like to refresh it every day using the Gateway connection, so I have successfully installed it on my computer that I turn on every day:
The problem is that instead of a successful daily refresh I have a daily error:
Failed to test the connection to your data source. Please retry your credentials.
Some credentials aren't validated as they are set to skip test connection.
If I enter in the Edit credentials I see the error:
Failed to update data source credentials: The credentials provided for the Web source are invalid. (Source at https://www.marketindex.com.au/commodities/lithium.)Show details
This because I'm using Authentication method: Anonymous and Privacy level setting for this data source: Public. But this is exactly what I'm using on Power BI desktop and it's working!
What am I doing wrong here?
Why the same connection is working fine on Power BI Desktop but not the same dashboard uploaded online?
EDIT: the On-premises data gateway looks installed without problems
It seems like the issues you're experiencing may be caused by the link you're using (https://www.marketindex.com.au/commodities/lithium), although I'm not sure exactly why.
For example, as has been mentioned in the Do I Need a Gateway for Web post, one can use Web.Contents instead of Web.BrowserContents in the raw M code in the Power Query Editor to avoid using a gateway. However, when I test this implementation using the link that you provide, I get an error when refreshing from Power BI online.
If I test this implementation using an HTML table from the https://tradingeconomics.com/commodity/lithium website, though, and set the data source credentials as follows, then I am able to successfully refresh the dataset from Power BI online.
I tested this with another HTML table from a random webpage and an online refresh worked as well. So it seems like there is something odd about how Power BI online interacts with the Market Index website and this is causing your issue. Potentially because of some authentication configuration on the Market Index side of things? I'm not able to help with looking further into why this is occurring, though.
Would you be able to use a different website with similar information as a data source for your report? If so, you could avoid the issues you're experiencing and avoid using a gateway in general if you wanted.
If you go this route, it seems like using the included "Scheduled refresh" setup in Power BI online works, but I will include the Power Automate scheduled refresh setup below in case this is desired instead.
Power Automate Scheduled Refresh
One can use Power Automate to "schedule" dataset refreshes instead of the included "Scheduled refresh" functionality in Power BI online. The steps are a little too long to include here, but the Refresh your Power BI dataset using Microsoft Flow article outlines the process on setting this up. There are various triggers that you can use to trigger your flow. The linked article uses one that triggers based on a SharePoint action, but there is a Recurrence trigger that can be used to trigger your flow at regular intervals/times.
Just set up your flow, make sure that it is "turned on", and your dataset will refresh at regular intervals from the cloud.
Im trying to just understand the basics of Power Bi service refreshing reports from datasets, and despite several questions on here (like this one and this one) and several microsoft articles, Im still lost.
Lets say I go on my corporate onedrive account and create a very basic excel file. Two columns, some fake names and fake numbers.
Then I close that. Open Power Bi desktop and create a very basic report where I just dump that data into a table. Also worth pointing out I bring that data in using this method to copy and paste the sharepoint path to the file (and do all the other stuff on that page as far as authenticating my work account, getting the data, etc.. I do that because in other places I read that if the onedrive path was the path as its seen on your computer, it wont work.
I then publish the report to the service online. Works great so far.
I now want to refresh my report based on a change I made to the data. So I open the onedrive excel doc, change a number, save and close.
Now no matter what I do, the report wont refresh. When I click to refresh here:
It gives me this error:
When I google that error it says I need to change the permissions, so I go to the data source settings in Power bi desktop and have done all sorts of things in various attempts. I.e. "clear permissions" or "edit permissions" and make sure it says "none", etc... etc..
What am I misunderstanding?
Lastly, I dont understand it at all, but Ive heard previously I may need a "gateway". At one point a week or two ago I had my companies IT department install a gateway and as far as I can tell its on right now:
I was told I need to select OAuth2 as the Authentication method, but where I would expect to find the menu for dataset credentials (pic below, I'd expect it to read dataset description, then gateway connection, then data source credentials) I dont even see the option:
Also obviously that warning on the screen (cant refresh because data sources dont support refresh) sounds relevant, but a- it looks like the whole error isnt even there, b- its just an excel file on onedrive, shouldn't that work?
After publishing the pbix in the Power BI you need to configure the data source credentials to use OAuth2.
I'm using Power bi service along with power bi desktop version.
What I'd like is to spend less time on setting up UI for my charts.
Let's say I have multiple accounts with power bi datasets in them (hybrid dataset to be able to display data in real-time).
Currently I have to create report on each of them, set up charts etc. I expected to create pbix file once and then just publish it to different accounts. But when it comes to reports bound with power bi datasets, it is no longer possible. Even if account already has exactly the same hybrid dataset.
Any ideas on how to implement portable reports?
If I got your point correctly, you have multiple accounts and in each of them you have the same dataset. You want to create open report, which you will publish to all of these accounts. I do not understand why do you need to create a new report for each of your accounts. Why not just change the data source of your report prior publishing it to each of these accounts?
Also it is not clear, how these datasets are created. I think there are two possible options here - these datasets are published with your report, or they are existing datasets not published with this report.
In the first case, just design your report, getting data from your database, and publish the report in each of your accounts. You could change the data source prior every publishing, if your different accounts/datasets should get data from different databases.
In the second case, when you design your report, do not get data from the database, but connect the report to the Power BI Service itself:
and pick the existing dataset:
Before each publish change the account you are logged in, change the data source of the report and select the dataset from the corresponding account. This way when publishing the report, the dataset will not be overwritten, but will be shared between this report and any other report who uses it.
To change the data source of your report, in the drop down of "Edit Queries" button, select "Data source settings" and then click "Change Source..." button.
In both ways you will design your report only once, but it will be published in different accounts using different data.
Are all of your users in the same tennant/company?
If so, create a workspace. Create your report which uses another power BI dataset as its source. Turn on row level permissions. Share the new report to all people. They will only see the data relevant to them and you will only need to maintain one report.
Row level security in power bi
I have used Power BI Service with Multiple Reports/Users in Same Organization with Shared Data Sources using different Reports for each user using the same Datasets.
From your Admin Account (eg. it#contoso.org) Publish all the Reports and once its working from Online (after configuring Gateway and DataSources). Download the PBIX Report File from Power BI Online.
Using Admin Account go to Dataset Settings and Allow the users who will use reports using this datasets to Publish Reports using this Dataset (further security to use dataset i.e. Even if they get the source PBIX File and upload it they wont get access to the data).
Login using the Users Power BI Account (must be within Same Organization, eg. contoso.org) then upload the Same PBIX Report File which was downloaded Earlier from Power BI Web Portal (do not publish via the Desktop App), its more efficient and cleaner on Accessing the Data through Web/Devices.
Now the reports as already they are using the same shared Datasets, the reports will be running fine and the data source settings only have to be done once from Admin User.
And for any further databases Administration only One Admin Account need to be used to access and modify the Data Source Settings.
I've made custom visuals on my personal machine in the past but am trying to do the same using a corporate system.
I can see my custom visual at https://app.powerbi.com, but not through Power BI Desktop or on https://localhost:8080. I'm assuming these two are connected. When i run command pbiviz start from my CLI, the localhost doesn't launch, either.
I can't sign up for PowerBI web service at work, so I've used a personal account temporarily. I need to view and debug my custom visuals in localhost or within PBI Desktop instead.
I'm using Power BI version 2.46.4732.721 64-bit (May 2017).
My custom visual requires no data - it's the sample visual:
Power BI Desktop: When I import the custom visual into PBI Desktop, I see the static placeholder image. I get similar images when I click other graphics, e.g. Donut Chart. These graphics require data to show anything. But even if I try adding data to the custom visual, it just shows the placeholder. (No data is required in the web service version of PBI - the image just shows straight away.)
Localhost: The error I'm getting in IE11 & FF52 is from line 37 of visual.ts: this.target=options.element. "Unable to get property element of undefined". But surely the same variable is used in app.powerbi.com, where it's working fine. I get this line: plugin myTestVisualDC00AEEDDF6D475989B6E1D88E1A21DF_DEBUG.
I've already followed the debugging instructions about trusting certificates and enabling developer visuals within app.powerbi.com.
Does anyone know what I am doing wrong?
Thanks for any help
Emma