Quantcast
Channel: All Developer posts
Viewing all 48123 articles
Browse latest View live

Re: Missing Customize current theme in Options

$
0
0

 

 

Which desktop version are you using? Or is it Report server version? Download the latest and verify..

 

I see it in 2019 Dec release...

 

image.png

 

If it helps, mark it as a solution

Kudos are nice too


Can someone help me with the below visual?

$
0
0

I need to get a visual where I can compare PLAN values with Log + Remaining Plan Values.
Community Help.pngThe Plan Bar compared with Logged + Remaining Plan --> where Logged needs to be color 1 and Remaining Plan needs to be Color 2.

Your Help is appreciated.

Re: Can someone help me with the below visual?

Embed Report to Sharepoint - iFrame + "sign in again"

$
0
0

I have embed a Power BI report into a Sharepoint Online Modern Page using iFrame.  I am doing this because I want to take advantage of the URL flilters and custom height/width options that are not allowed with the basic "Embed to Sharepoint Online" web part option.  The report is shwon on the page correctly, but after awhile (1 hour?), the report goes to a "sign in again" mode in order to see the report.  How do I customize my report so the Sharepoint user (who is logged in and has a Power BI Pro account), doesn't have to repeatedly sign in separately to the Power BI service?  If the user is logged in to access the Sharepoint page, I'd like the credentials to automatically pass through to the content on the page -- like the Power BI iframe embed.  Thank you!!

Re: Dataflow refresh status - API

$
0
0

Hi Jeff, thank you - I appreciate the help. Struggling because the API doesn't seem to work unless you are the owner of the dataflow. Hope MS gets issues like this straightened out...the fact that a dataflow can have only one author kinda reflects a non-enterprise mentality when designing the access model...

 

Thanks!

Scott

Re: Is it possible to use an API Bearer to load a report preauthenticated

$
0
0

Thank you! That's a wealth of information.

Unfortunately for me I'm using an application (java) that is using a jxbrowser (embedded browser) so native authentication like sharepoint etc don't work. The user is prompted as if in incognito.

 

The other feedback is great too.

 

I'll leave this question open because I'm still wanting to know about using the API bearer token to load the report in some way. If I don't get an answer I'll mark yours as accepted as it's the best I've got in multiple forums so far.

Re: Open Navigation from Power BI Maps

$
0
0

Hi ,

It's currently not possible to assign a URL to the map visual in the way that you want.

There's an idea for this, if you want to vote on it.

The only way to achieve this with a core visual would be to have a table or matrix display cross-filter the data points from the map upon selection and have one of the columns contain the URL (which you're probably already figured out).

This could be solved with a custom visual, but there are user prompts when an external URL is launched (so that we don't get developers potentially redirecting users to external URLs without their consent), so is also a sub-optimal approach for this particular use-case, unfortunately.

Probably not the answer you were looking for but hopefully allows you to consider another approach if necessary.

Good luck!

Daniel


If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂

Re: Limit the duration of DAX queries (timeout)

$
0
0

Hi ,

I've done this in the past but I don't have access to an SSAS tabular instance at the moment to confirm.

You should be able to modify the server properties, specifically the ExternalCommandTimeout property, which is currently set at 3600 seconds (1h) by default.

You'll likely need to restart the instance for settings to take effect for end-users, so you might need to schedule an outage window to apply the config.

I hope you find this useful. Good luck!

Daniel


If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂


Has anybody managed to use personal bookmarks with Power Bi Embedded?

$
0
0

Hi all.

 

I am using PBI embedd to display my reports on a company website.

 

when using power bi desktop i can see personal bookmarks and able to add new personal bookmarks.

 

but when i load an embedded report and display the bookmarks panel it is empty.

 

With embedded reports i can't see any of my personal bookmarks or add new personal bookmarks as the "add" button is grayed out.

 

I have try to call the embedded report with its workspace \ group id but it didnt help - while i see all personal bookmarks on PBI desktop, I can't see them with PBI embedded.

 

Has anybody encountered the same issue?bookmarks defferent.JPG

 

Re: power bi embed - personal report not showing up

Append not showing expected data

$
0
0

Hi all,

I am new to PowerBI. I am trying to Append some data fetch from D365 Business Central(cloud). I have fetched Vendor Ledger Entries for all companies and added "Company" column. After that i am trying to create New Append on tables. I am getting different results on ecah refresh of Preview.

Here are the tables

 

Vendor Ledger Entries for 2 companies 4 rows

image.png

 

Vendor Ledger Entries for 2 other companies 3 rows

image.png

 

Here is the Appended Table(6 rows instead of 7 and unrelevant data showing up repreating from top row from top table)image.png

 

Please let me know why this is happning. I have cleared Cache many times to no avail. Also tried to make all column types same in all tables but issue remains same.

 

Regards

Set AzureBlob Datasource key using REST API

$
0
0

Hi,

 

I have a report which I embedded to my application using pbie.

the report itself have been embedded successfully, but the dataset cannot be refreshed.

after some checking, I know that the dataset doesn't have enough credentials to access my datasource, which are a csv file in Azure Blob storage.

Now, if I manually add my azure blob credentials to my datasets from power bi workspace it could be refreshed.

But, I want to automatically set my credentials from my application which are written in javascript.

 

I tried to use this API first to get my gateway and Datasource ID

GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources

 it went well and I got the information perfectly.

 

next step, I wanted to update my datasource credentials information using this API

PATCH https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}

 with my OAuth token as my Authentication header, and request body like below:

{ "credentialDetails": { "credentialType": "Key", "credentials": "{\"credentialData\":[{\"name\":\"key\", \"value\":\"JY63B8gVl9ltPAE0mEvty4Kbnt9lLcR9VqKuKXjhQM0LlGzLvK/tVIr/ewtcyu9Tm75i0uU3V+idDF/Oo3DzMw==\"}]}", "encryptedConnection": "Encrypted", "encryptionAlgorithm": "None", "privacyLevel": "None" } }

 

but it gave my 401 error with response :

{ "error": { "code": "PowerBINotAuthorizedException", "pbi.error": { "code": "PowerBINotAuthorizedException", "parameters": {}, "details": [], "exceptionCulprit": 1 } } }

 

can anybody give me a hint for where I done wrong?

or maybe if there are any other way to do this I would appriciate the infromation

 

bests,

Custom Visual update options.updateId

$
0
0

I noticed the updateId on the VisualUpdateOptions passed in on a custom visual's update method when debugging.

 

What is that used for? 

Can it be used to get back to a previous options passed into visual.update?

 

I would like to be able to programatically get back to an earlier data state (drill up) after having drilled down using selectionManager.select().

 

Thanks for any help or information.

PowerBI: This content isn't available message

$
0
0

We are using PowerBI embed APIs to generate a embed token & embed url to further render the corresponding report. The report shows up fine on Web & Android, however, iOS devices (iPhone & iPad) fail to render the report showing error - 'This content isn't available'.

 

The same reports were working on all platforms (Web, Android & iOS) a day back. Furthermore, we entered the code generated Embed Token & Embed URL in the sandbox environment and the report shows up as expected  

 

Any guidance to debug the issue would be highly appreciated. 

 

Ref IMGs:

 

PS - We are using in-app UIWebView.

Re: Custom Visual update options.updateId

$
0
0

,Hi 

The updateId property is not part of the API spec (here's the interface definition). TypeScript certainly doesn't like it when referenced:

image.png

You can hack around this by referring to it using bracket notation...

image.png

image.png

...but this isn't really very TypeScript-y, as you're working around the problem, and if for some reason, the property disappears from the object then you'll have to handle the error to avoid the visual crashing.

The property itself appears to be added by the developer visual (which hosts the custom visuals runtime) and is likely playing the role of a correlation ID for logging purposes and will only have any meaning to the originating service.

Personally, if I can't see it in the API spec, I wouldn't rely on it for anything I would do inside the visual logic. If I needed one, I'd generate it within the update method with a suitable package, as you have more control over what you can do with it.

The ID would not provide access to a previous state, so if you wanted to handle this, you would need to store a previous state in your view model when updating during the desired operation, to allow comparison to the current state later on, if you need to revert. TreeViz does something like this, although for the case they're using if for, VisualUpdateType (which has been introduced after they wrote their visual) might be more appropriate.

Regards,

Daniel


If my post solves your challenge, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂


Bulk change of measures

$
0
0

Hello, 

I have report with 350 measures. As report was developed for almost a year, a lot of measures are obsolete or could / should be simplified or have multiple copies under different name.

Is there a way to prepare all the changes outside of PBI Desktop and apply those changes to report in one swoop? Maybe using tabular editor or similar?

And is there a way to let visuals / PBI Desktop"know" that one measure is being replaced by other?

Thanks in advance for any help provided.

Tom 

APIs to extract data from Aconex (Oracle Database) to Azure SQL database to report using Power BI.

$
0
0

Hi Community,

We want to report on Aconex data in Power BI

Aconex is now owned by Oracle and the underlying database is Oracle.

I want to bring in Aconex Field data from Aconex to Azure SQL database to report using Power BI.

I wouldn't mind reporting directly off the Aconex Oracle database if there is a way to connect Power BI directly. I tried it a few months ago but didn't work though I got the Web Services API Developer and Activation Keys. Or, please throw some light for me to check if I missed any steps in trying to connect properly!

I am looking for any guidance to help me design the APIs myself to ETL data as below 3 options whichever is easier to do so:

1. Aconex Oracle database -> Power BI

2. Aconex Oracle database -> Azure SQL database -> Power BI

3. Aconex Oracle database -> Open to any better storage in Azure -> Power BI

Any help/guidance on how to achieve this is greatly appreciated.

Any info with screenshots or guidelines would be of great help to me and others in a similar situation.

Hoping to hear soon.

Thanks a million for your time in advance.

Regards,

Chandu

Re: APIs to extract data from Aconex (Oracle Database) to Azure SQL database to report using Power B

$
0
0
I would suggest data factory.


Go to portal.azure.com. Set up you sql database first.

search for data factory and start a new one. Go to author and monitor, then set up a new pipeline.
Set up connections to Oracle and your Sal database.
Add “copy data” and set the source to oracle and the sink to sql.

To get you started:
https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-copy-data-tool#start-the-copy-data-tool

Connecting to oracle
https://docs.microsoft.com/en-us/azure/data-factory/connector-oracle


browse pages without changing the report level filter

$
0
0
I have a menu where I can choose some production lines, clicking on some line it directs to another tab filtering the desired line in the menu, from this tab to an arrow that also goes to another tab that until then has to filter the chosen line in menu, with indicators I'm not able to do this. Line 1 Lines 2 -> page 1 -> page 2 ... Line 3

Creating Static + Dynamic Title for my visuals

$
0
0

Hi,

Is there a way in Power BI to use both - static and dynamic Titles?

I have already created and imported dynamic measure from my Tabular model [Period Selected Months], but I also need to

add a specific Title.

 

My current dynamic Title (using CalendarFY'[Period Selected Months]') looks like

Capture.JPG

and needed to add "Unique Clients Served" words to it!

 

I also created additional measure in Power BI:

Region Program Title = "Unique Clients Served for" & 'Calendar FY'[Period Selected Months]

But, when I was trying to select this measure in the Title's Conditional Formatting section, this measure was inactive for selection...

Please suggest, if there any way to add a static Title (words) "Unique Clients Served" to my dynamic measure in Power BI!

 

 

Viewing all 48123 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>