Power BI Desktop - how do i see custom visuals - powerbi

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

Related

How to remove page filter from a single visual taken from Embedded Power BI report

While trying to embed a single visual from an embedded Power BI report, the page filters applied to the report is also coming along the Visual and I am not able to remove it using removeFilter function mentioned in Power BI playground. I tried like :
Take the visual from report and tried removing filter to the single visual.
Remove the filter from report (successful) and get the Single Visual.
In both cases, Visuals are displayed with Filter.
Could anyone please help me out?
Dashboard are basically for presentation purpose. First you will generate your desired output for a visual in the report using - Slicing, Filtering and drilling down. Once your visual is showing your expected output, you can then PIN your visual to your target dashboard. Remember, once you pinned a visual to a dashboard, you can not change it any more in the dashboard. If you need changes, you need to perform in in the report and then again pin your final output to the dashboard.
Lets go through some comment/explanation from different blogs and tutorials-
Tiles/visuals pinned to a dashboard are displayed based on the filters applied
to them via the filter pane OR via slicers OR via cross filtering at
the time of pinning in report.
Dashboards do not currently have filters that will allow filtering
across tiles/visuals.
A dashboard can contain charts from multiple reports. That’s why a
sliver doesn't make sense on a dashboard, because the slicer can't
filter all charts/datasets.
Whatever, I also found some comments as below, but I have not enough knowledge about the approach mentioned.
If you would like the ability to filter specific tiles on a dashboard,
pin live report pages
You can pin a whole report page as a live page, so that any changes
you make in that report page will be reflected in the live page you
pinned to your dashboard.
You can do some google about what is power bi Live Report is

Can I export a Power BI dashboard to Data Studio?

I have a dash made with Power BI, but I'm using Linux now and can't use it. I'd like to start using Data Studio, but I need to use the dashes I've already created with Power BI.
You can use your PowerBI dash from Linux, you just need to publish the dash to the PowerBI service after which you access it through a modern browser (e.g. Chrome). See the docs here.
In terms of getting your data out of PowerBI Desktop (thick client), there is no automated way. The best you can to is to create a PowerBI dash with a table visual and then include all relevant columns and rows to export in the table. Use the PowerBI export data feature to dump out to Excel. The same technique works in PowerBI service (the web version after you hace published). See the docs here.
If you want to try get to your PowerBI service (published data) from an API, that is not possible in any general format. The only option comes with the Premium version of PowerBI where you can connect to an XMLA endpoint to access the data. Typically organisations do their data wrangling in a tool before passing the data on to PowerBI To avoid the lack of open connectivity (to the processed data in PowerBI).

Power BI DirectQuery mode - "Couldn't load the model schema". But able to do transformations in Query editor

I have been trying to connect to a SQL server DB via Power BI Desktop. The connection mode selected is DirectQuery . I am able to establish the connection to the SQL db. But in the report viewer i don't see the table loaded. And i keep getting this popup saying - Unexpected error. Couldn't load the model schema.
But when i open the query editor, i am able to see the table contents and do some transformations. But when trying to load it doesn't come up in the report viewer Fields pane on the right. Again get this error- Couldn't load the model schema.
I have tried the resolution related to windows defender. But get that -resetplatform is not an valid option.
Users can work around this issue by running the following command from
an elevated command prompt: "C:\Program Files\Windows
Defender\MpCmdRun.exe –resetplatform"
In case it helps someone, this is how i solved it.
When trying to connect to SQL server from PBI desktop, skip giving the port number in the server input box. Although the tool tip mentions u can enter as server:port.
By connecting this way, i was able to load the model both in report viewer as well as see data and transform on Query editor.
A very trivial issue. but took quite a while to figure out.
I had the exact same problem on my Windows 7 machine. I then installed the latest Power BI version (Version: 2.62.5222.761 64-bit (September 2018)) from the Microsoft store on my Windows 10 machine. Surprisingly, it worked there.

Power BI >> Images not coming up on app

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

Live connect to SSAS Tabular from Power BI not working

I have a working SSAS tabular model and I want to connect Power BI with live connection to this model. In the model there is a role (READ) for user DOMAIN\aldo. In Power BI desktop everything works fine. I can create report I can see data. In Power BI services I created gateway and successfully connected gateway. Upload to Power BI services was without problems. But despite of this I cannot see data in Power BI services.
Details:
ssas runs on NT service\mssqlserverolapservices
ssas admin technicUser
user in PBI: aldo#boston.com
user in client (according to whoami /upn): aldo#seattle.com (this is user DOMAIN\aldo in SSAS role)
mapping done in gateway to replace boston.com with seattle.com
user used in Gateway: technicUser
I can see user aldo#seattle.com in profiler as effective user name
<Catalog>AW</Catalog>
<SspropInitAppName>PowerBI</SspropInitAppName>
<EffectiveUserName>aldo#seattle.com</EffectiveUserName>
Error message in POwer BI Services:
Couldn't retrieve the data for this visual. Please try again later.
Please try again later or contact support. If you contact support, please >provide these details.
Activity ID8661ae16-5c87-4d04-9049-1e841341f25e
Request ID15355511-8ce9-2842-0eea-df1117ecb280
Correlation ID3e50c72c-06e8-8c81-8a44-78af1f309549
TimeWed Mar 14 2018 14:01:41 GMT+0100 (Central Europe Standard Time)
Version13.0.4622.132
Any idea what I´m missing to make to work?
I had the same error, like you mentioned in your comment. It has to do with the 32 or 64 bit version of the DLL.
OLE DB provider 'MSOLAP.5' cannot be instantiated
COMException (0x80040154)
80040154 Class not registered
I managed to resolve this by deregistering the 32-bit versions
“C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll”
“C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\120\msolap120.dll”
and registering the 64 bit version.
“C:\Program Files\Microsoft Analysis Services\AS OLEDB\120\msolap120.dll”
In a command prompt running as admin you use the regsvr32 command.
To register a dll:
regsvr32 <pathToDLL>
To unregister a dll:
regsvr32 -u <pathToDLL>
From reference: PBI Forums