Quantcast
Channel: Service topics
Viewing all 62657 articles
Browse latest View live

Rest API working in Desktop but when published online it is returning Error 405

$
0
0

Hey,

 

I set up a API datasource in Power BI desktop. The whole model is working fine. Once I publish the report, there seems to be an error 405 when accessing the API datasources. No idea how to fix this. 

 

Failed to update data source credentials: Web.Contents failed to get contents from 'https://[not disclosed]' (405): Method Not AllowedHide details

Activity ID:bcdc579a-8442-4022-9173-8e77eb6ffb1f
Request ID:2a3e9e61-609c-ea03-db1a-e198a01781a7
Status code:400
Time:Mon Feb 04 2019 10:41:25 GMT+0100 (Midden-Europese standaardtijd)
Version:13.0.8234.157
Cluster URI:https://wabi-north-europe-redirect.analysis.windows.net

 

The data source is basically a function to call an API several times (because I can only call for a period of max 30days.

 

This is the function:

 

let function = (startdate as text, enddate as text) => let
Login = Json.Document(Web.Contents("https://[not disclosed]", [Headers=[#"Content-Type"="application/x-www-form-urlencoded", Accept="application/json"], Content=Text.ToBinary("username=-----&password=------&market=BE")])),
sessionId = Login[sessionId],
body = "{
""from"": """& startdate &""",
""to"": """& enddate &""",
""events"": [],
""venues"": [],
""admin"": [],
""promoter"": []
}",
Source=Json.Document(Web.Contents("https://[not disclosed]", [Headers=[#"sessionId"=sessionId, #"marketcode"="BE", Accept="application/json",#"Content-Type"="application/json"], Content=Text.ToBinary(body)])),
transactions = Source[transactions],
#"Converted to Table" = Table.FromList(transactions, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"firstName", "lastName", "middleName", "email1", "email2", "phone1", "phone2", "phone3", "phone4", "address1", "address2", "zipCode", "city", "country", "customerNumber", "preferredLang", "company", "department", "gdprFlags", "eventId", "eventCode", "eventDate", "eventTime", "eventTitle", "venueId", "venue", "promoter", "administrator", "keywords", "level", "section", "row", "seatNumber", "price", "priceCategory", "priceType", "trxHeaderCode", "transactionDate", "transactionTime", "orderNumber", "orderNote", "status", "outletCode", "outletName", "cameFromCode"}, {"Column1.firstName", "Column1.lastName", "Column1.middleName", "Column1.email1", "Column1.email2", "Column1.phone1", "Column1.phone2", "Column1.phone3", "Column1.phone4", "Column1.address1", "Column1.address2", "Column1.zipCode", "Column1.city", "Column1.country", "Column1.customerNumber", "Column1.preferredLang", "Column1.company", "Column1.department", "Column1.gdprFlags", "Column1.eventId", "Column1.eventCode", "Column1.eventDate", "Column1.eventTime", "Column1.eventTitle", "Column1.venueId", "Column1.venue", "Column1.promoter", "Column1.administrator", "Column1.keywords", "Column1.level", "Column1.section", "Column1.row", "Column1.seatNumber", "Column1.price", "Column1.priceCategory", "Column1.priceType", "Column1.trxHeaderCode", "Column1.transactionDate", "Column1.transactionTime", "Column1.orderNumber", "Column1.orderNote", "Column1.status", "Column1.outletCode", "Column1.outletName", "Column1.cameFromCode"}),
#"Renamed Columns" = Table.RenameColumns(#"Expanded Column1",{{"Column1.firstName", "firstName"}, {"Column1.lastName", "lastName"}, {"Column1.middleName", "middleName"}, {"Column1.email1", "email1"}, {"Column1.email2", "email2"}, {"Column1.phone1", "phone1"}, {"Column1.phone2", "phone2"}, {"Column1.phone3", "phone3"}, {"Column1.phone4", "phone4"}, {"Column1.address1", "address1"}, {"Column1.address2", "address2"}, {"Column1.zipCode", "zipCode"}, {"Column1.city", "city"}, {"Column1.country", "country"}, {"Column1.customerNumber", "customerNumber"}, {"Column1.preferredLang", "preferredLang"}, {"Column1.company", "company"}, {"Column1.department", "department"}, {"Column1.gdprFlags", "gdprFlags"}, {"Column1.eventId", "eventId"}, {"Column1.eventCode", "eventCode"}, {"Column1.eventDate", "eventDate"}, {"Column1.eventTime", "eventTime"}, {"Column1.eventTitle", "eventTitle"}, {"Column1.venueId", "venueId"}, {"Column1.venue", "venue"}, {"Column1.administrator", "administrator"}, {"Column1.keywords", "keywords"}, {"Column1.promoter", "promoter"}, {"Column1.level", "level"}, {"Column1.section", "section"}, {"Column1.row", "row"}, {"Column1.seatNumber", "seatNumber"}, {"Column1.price", "price"}, {"Column1.priceCategory", "priceCategory"}, {"Column1.trxHeaderCode", "trxHeaderCode"}, {"Column1.transactionDate", "transactionDate"}, {"Column1.transactionTime", "transactionTime"}, {"Column1.orderNumber", "orderNumber"}, {"Column1.orderNote", "orderNote"}, {"Column1.status", "status"}, {"Column1.outletCode", "outletCode"}, {"Column1.outletName", "outletName"}, {"Column1.cameFromCode", "cameFromCode"}})
in
#"Renamed Columns"
in
function

 

image.png


App Access type of groups/individual users

$
0
0

Please validate my understanding. When publishing Power BI app - Under Access - what type of groups/individual users I can use.

  1. Azure Active Directory Security Groups (it must be mail enabled)
  2. Individual Users
  3. Office 365 Groups?
  4. Distribution lists?

 

s.jpg

Dataflow fails to return all SharePoint columns

$
0
0

I have a SharePoint list that has 54 columns. If I create a Dataflow using the SharePoint Online List Data Source to import the list it only returns 28 of the 54 columns. If I use Power BI Desktop it imports all 54 columns.

 

Is there a limit to the number of columns imported in a Dataflow?

 

Inspecting the code shows that the Dataflow is using a slightly different query:

 

Dataflow

 

let
  Source = SharePoint.Tables("https://tenant.sharepoint.com/sitename/"),
  Navigation = Source{[Name = "ListName"]}[Content]
in
  Navigation

 

PowerBI Desktop

 

let
Source = SharePoint.Tables("https://tenant.sharepoint.com/sitename/", [ApiVersion = 15]),
#"6785c373-1db7-4981-b904-e3f82afbef93" = Source{[Id="6785c373-1db7-4981-b904-e3f82afbef93"]}[Items],
#"Renamed Columns" = Table.RenameColumns(#"6785c373-1db7-4981-b904-e3f82afbef93",{{"ID", "ID.1"}})
in
#"Renamed Columns"

 

If I create a Blank Query in Dataflow and use the query from Power BI Desktop then all 54 columns are returned in the Preview. However once saved the Dataflow will not refresh.

 

Run timeDataflow nameDataflow refresh statusEntity nameStart timeEnd timeEntity refresh statusError
02/04/2019 10:52:44DemoFailedListName04/02/2019 10:52:4404/02/2019 10:52:45FailedError: Internal error Request ID: 586964a0-7d8b-d5cb-a312-3a0124f54ccc Activity ID: a6eb2825-ad91-4b8c-9772-149c0d0768cf

 

I've also noticed that the Run time is reported using US Date Time and Start/End as UK Data time

ViewDashboard not appearing in O365 Audit Log

$
0
0

I am looking to see if Power BI Usage can be had via the O365 Audit Logs.  After lots of research, the Power BI usage should hit the O365 Audit Logs. 

 

To test this out, over 3 days ago, I created a trial O365 E5 account, and pushed up some demo Power BI reports I have created.  I created a couple of users and I am logging in out with the various users.  I created an old style workgroup and pushed one report up to that group and created one of the new groups in preview, and pushed a report up to that group.

 

I see activities for ViewReport, ViewUsageMetrics, and RenameDashboard, but no matter how many times I go into dashboards in different workspaces, I never see activities for ViewDashboard.  According to information I found, including https://docs.microsoft.com/en-us/power-bi/service-admin-auditing#requirements, the activity should be available in the O365 Audit Log.  Is there something that has to be done to make the ViewDashboard activitie appear in the Audit Log?

 

Thanks for any help.

How do I share read access to a Dataflow?

$
0
0

I have created an App Workspace and published some of the reports within the Workspace using the 'Entire Organization' radio button in the Access tab for the App.

Next I have created a new Dataflow within the same workspace and I want to allow others to take advantage of the work  have done, but none of the other Pro users in the company can see the new Dataflow. I cannot find anywhere specific to the Dataflows that controls sharing or permissions. Please can someone advise me how I share read access to the Dataflow?

Thank you!

manage embed codes- link not available

$
0
0

Hello all,

Today I published my report via "Publish to the web- embed this report for public access", just to test it via a browser. 

 

Now I want to unpublish it (delete it from the public to view). But I can not see any links under: 

setting --> manage embed codes 

 

It only shows the one I created some months ago. Capture.PNG

Anyone knows where can I find and delete these embed code links? 

 

Thank you

Pro license expiring, can i save my work offline / personal workspace?

$
0
0

Hi there,

 

I'm testing out some functionality of the Power BI Pro online, but my license is expiring in 10 days. I have created a lot of Reports / Dashboards using the App Workspace which I share with one colleague. Since we might not renew the Pro license immediately within these 10 days, is there any way for me to save my current work, so I can view them later?

 

I was hoping it is downloadable to a pbix format so I can open/edit in the Desktop version instead.

 

Thanks. 

Quickbooks Online App - Intermittent Data Connection Failure

$
0
0

I use the Quickbooks Online app. For the past week, I have gotten the following data refresh errors:

 

Message:Web.Contents failed to get contents from 'https://quickbooks.api.intuit.com/v3/company/[my company id]/reports/GeneralLedger?date_macro=all&columns=tx_date&sort_order=ascend' (500): Server Error

 

Cluster URI:WABI-US-NORTH-CENTRAL-B-redirect.analysis.windows.net

Activity ID:defd7208-4dfe-4552-bd49-771a737570f3

Request ID:989a0da7-d22e-46fa-9feb-b0bd0cef4b68

Time:2019-02-04 17:25:28Z

 

This has happened intermittently before, but fixed itself after a day or so.... now we are on a bad streak..

 

Anyone have success fixing this once and for all?


dataflow evaluation cancelled

$
0
0

Hello,

 

I received this error after creating a blank query in dataflows and then it tries to validate the query.  It seems to be a timeout issue because I can shorten the parameter for date range and it'll validate ok and work.  Is there a place I can change the timeout for the dataflow to validate? I dont think its hitting any limit on data being returned  but could be wrong.  I can run the query locally and it returns about 192k records and it takes about 7 minutes.

 

Dataflow validating query.PNGDataflow validating error.PNG

how do i apply alternating rows based on dimension

$
0
0

how do i apply alternating rows based on dimension.  I want to have up to 4 or 5 rows highlighted as one group in alternating rows

Updating Dataset in PowerBI Service without using PowerBI desktop

$
0
0

So I have a report that I created in my PowerBI desktop and published to the PowerBI service for sharing. I have scheduled my dataset to be refreshed daily in the options in my workspace. 

 

However, I created a new calculated column to report off of my date from and I want to have that change reflected in my published app in the service. The problem with making the change in the desktop means I have to then publish the app and overwrite all of my data already loaded into the service. 

 

I don't want to load months worth of data back into my desktop version. Is there a way to edit my dataset in the service version or somehow avoid having to load months of work of data back into my desktop version for one small calculated column added?

 

Thanks in advance for the help! 

Power BI Service Dates

$
0
0

 Hi Power BI,

 

My Power BI desktop has been correctly configured to my locale (Australia).

However any reports that i publish into Power BI Service have US style dates, and the timings have been coverted to US.

 

e.g. I check my usage stats on the reports i built. I know that i only look at my reports during business hours, but the usage statistics says i logged in on Sunday to view. This is not correct but i am assuming because it is in "US-time".

 

Does anyone know how i can fix the US times on Power BI service?? (i.e. the web interface)?

 

Thanks

Oneiricer

Tenancy region

$
0
0

Hi,

I've created our organization's first account, and (I suppose) it used my IP to create the tenancy in Australia.

However, I need our data to be stored in Europe (GDPR). I know a region cannot be changed, what are my other options?

Can I delete the account somehow and start fresh?

IT's not an active directory account, it's a manually created one as my organization doesn't work with AD.

Thanks.

Dataflows always fail to refresh due to "internal error"

$
0
0

I cannot seem to get a single dataflow to work. Even the most simple dataflow that doesn't connect to any data source and just returns static data will fail to refresh with the error:
 
Error: Internal error Request ID: 67d17199-9d7f-23ca-59f0-aa5534b1b9e2 Activity ID: ec2ef1d5-5e76-4cc7-98b4-da9d03db843a
 
or similar. I've tried everything...different data sources, credentials, different app workspaces. Nothing seems to make any difference, and I can't find any details as to why. Other uses seem to get this issue for a variety of reasons but none seem to apply to me.
 
I'm starting to wonder if it's an account based issue, but I don't know how to access any deeper diagnostic information.
 
Suggestions appreciated.

Dataflows started failing

$
0
0

My dataflows worked, but then started failing. Every dataflow has a valid gateway. Gateway is online, and all queries load into the editor. Each dataflow has one source and I'm not combining dataflows. Some dataflows connect to Azure SQL, others to anonymous web content.

 

Here are some error logs, thanks!

 

Run timeDataflow nameDataflow refresh statusEntity nameStart timeEnd timeEntity refresh statusError
3/2/2019 9:47Kansas City Area Zip CodesFailedJackson County Zip Codes3/2/2019 9:473/2/2019 9:47FailedError: Internal error Request ID: 07ee5535-9b40-175b-f1bb-e0351ee08a18 Activity ID: e31201cf-d364-41e1-aaac-fad20c599470
3/2/2019 9:47Kansas City Area Zip CodesFailedPlatte County Zip Codes3/2/2019 9:473/2/2019 9:47FailedError: Internal error Request ID: 07ee5535-9b40-175b-f1bb-e0351ee08a18 Activity ID: 78367d63-65cc-4f10-8511-01d0cc3a178e
3/2/2019 9:47Kansas City Area Zip CodesFailedClay County Zip Codes3/2/2019 9:473/2/2019 9:47FailedError: Internal error Request ID: 07ee5535-9b40-175b-f1bb-e0351ee08a18 Activity ID: 87fe6317-f488-4b55-88a7-7e3aadb0d016
3/2/2019 9:47Kansas City Area Zip CodesFailedWyandotte County Zip Codes3/2/2019 9:473/2/2019 9:47FailedError: Internal error Request ID: 07ee5535-9b40-175b-f1bb-e0351ee08a18 Activity ID: 02db6b05-9375-40d7-b67b-f18e77d81862
3/2/2019 9:47Kansas City Area Zip CodesFailedJohnson County Zip Codes3/2/2019 9:473/2/2019 9:47Failed

Error: Internal error Request ID: 07ee5535-9b40-175b-f1bb-e0351ee08a18 Activity ID: 6a3bc987-52c1-4fac-8d2d-b2e166bd8fa9


Unable to update report published to web using source web.content

$
0
0

I have been trying to auto update my report using the web service but for some reason it replies with internal error 500 and status code 400. I am connecting to a internal web address using XML request and web connection.

when updating in powerbi desktop i have no problem updating.. The problem is there when trying to update using the powerbi.com. I have attached the error pb.JPG

 

 

 

 

Enterprise Gateway sign-in service account / 2FA

$
0
0

Hello all,

I have a question on the enterprise gateway. We have the gateway running on a separate machine and the way to our DWH is all free, as well as ports and FQDN required for Microsoft, are set-up.

 

I am facing a challenge in signing in just after installation as when I use my individual company account it will automatically route from the AD to our 2FA app Secure ID from RSA . This failed as the ports for this are not open and our Security guys do not really like the fact that I would use my individual account to sign-in to the gateway, which I totally understand. 

 

My question is what is the best and secure way to get this initial sign-in-registration completed? How did you go about it for your enterprise gateway? 

 

Thanks a lot,

Dennis

Security concern on exporting data from Power BI report with Direct Query

$
0
0

Hi,

 

I have a question regarding exporting data from a Power BI report made under direct query. We have some security concern over our data so we are using direct query option to develop our reports. As the direct query option does not store any data in the report i have a question that how it export data to Excel/ CSV? Does this imply anyone who get the access to our reports can export data?

 

Regards,

Maddy

How long I can use Power BI pro features after trial expires?

$
0
0

Hi All,

Is it correct that I cant publish report after Power BI account expires?

Date Slicer: Between Option on Web Version

$
0
0

When I publish my report online, my date slicer only shows relative date slicer, and won't allow "between" or other options. I can even edit it in the online in-browser editor, change it to "between," and click save, but when I switch back to reading view it reverts back to the relative date slicer. Can we have the ability to have a between date slicer with the slider instead of a dropdown relative date slicer in the published online reading view version of the report?

Viewing all 62657 articles
Browse latest View live


Latest Images

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