Quantcast
Channel: All Power Query posts
Viewing all 122215 articles
Browse latest View live

Re: Changing Data Type problem - Financial numbers stored as text won't convert to currency

$
0
0

If i had to guess, its possibly a language settings issue.  I know under my language settings that a number 435,97 would be expected to have been stored as 435.97 instead, however if it saw 435,97 it would drop the comma as typically those are used to separate numbers from purely a display aesthetic (typically to break up thousands, millions, billions etc)

 

 


Re: Error while combining different excel files

$
0
0

Looking at the data i'm expecting you will have a number of problems to resolve once you get each excel file into your Queries section.  Have you done any data cleansing?  What cleansing have you done?

 

Here are the things you are likely going to need to do among any other challenges you find in your data:

  • Remove the Top X rows to remove the fluff at the top
  • Copy Down values in your first couple of columns as the pivot table style data is likely to only exist in the first row that it is printed
  • You'll need to run an unpivot operation to get the data where you need it to be before merging
  • After merging you would need to run a pivot operation to get each category as a column header.

Feb Gateway Installer Crashing

$
0
0

Anyone else having a similar problem with the Latest Gateway installer?  (Feb 2018).  Our gate way is 2012 R2.

 

1ECBC15F.PNG

 

Fortunately we are reasonabley up to date so i'm not an emergency, I am curious if there are others in the same boat.

Re: Power BI Gateway Installation failure

$
0
0

 Hi Lydia, Eventally I got the Gateway installed; however, I encountered some issues when I was registering the gateway.

 

Issue 1: Failed to update gateway details. You may need to change the account the gateway runs under.

Details:

"Failed to update gateway details. You may need to change the account the gateway runs under.

Error updating gateway configuration.

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.PowerBI.DataMovement.Pipeline.InternalContracts.IGatewayConfigurationService.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Int32 maxRetries)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Int32 maxRetries)An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.CouldNotUpdateGatewayConfigurationException: Error updating gateway configuration. ----> System.ServiceModel.CommunicationException: Unable to reach wabi-us-east2-relay25.servicebus.windows.net HTTP (80, 443) ----> System.AggregateException: One or more errors occurred. ----> System.ServiceModel.CommunicationException: Unable to connect to factory endpoint. ----> System.Net.WebException: Unable to connect to the remote server ----> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 104.46.98.9:80
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner ExceptionDetail stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at Microsoft.ServiceBus.WebStream.CreateSession(Uri& endpointLocation1, Uri& endpointLocation2)
--- End of inner ExceptionDetail stack trace ---
at Microsoft.ServiceBus.WebStream.CreateSession(Uri& endpointLocation1, Uri& endpointLocation2)
at Microsoft.ServiceBus.WebStream.Connect()
at Microsoft.ServiceBus.WebStream.IsSupportingScheme(Uri factoryEndpointUri, Exception& exception)
--- End of inner ExceptionDetail stack trace ---

--- End of inner ExceptionDetail stack trace ---
at Microsoft.ServiceBus.NetworkDetector.DetectInternalConnectivityModeForHttp(Uri uri)
at Microsoft.ServiceBus.ConnectivityModeHelper.GetInternalConnectivityMode(ConnectivitySettings connectivitySettings, HttpConnectivitySettings httpConnectivitySettings, Uri uri)
at Microsoft.ServiceBus.ConnectivityModeConnectionElement..ctor(TokenProvider tokenProvider, SocketSecurityRole socketSecurityMode, BindingContext context, NameSettings nameSettings, ConnectivitySettings connectivitySettings, HttpConnectivitySettings httpConnectivitySettings, Nullable`1 sslProtocolOverride)
at Microsoft.ServiceBus.TcpRelayTransportBindingElement.BuildInnerBindingElement(BindingContext context)
at Microsoft.ServiceBus.TcpRelayTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnBeginOpen(TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.CommunicationObject.OpenAsyncResult.InvokeOpen()
at System.ServiceModel.Channels.CommunicationObject.OpenAsyncResult..ctor(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.CommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, Object state)
at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1](Func`4 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, Object state, TaskCreationOptions creationOptions)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.ServiceModel.ServiceHostController.<ExecuteRunnerIterationAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.ServiceModel.ServiceHostController.<StartRunnerAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.ServiceModel.ServiceHostController.StopHandle.<StartRunnerAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayServiceHost.GatewayServiceHost.<UpdateConfigurationImpl>d__24.MoveNext()
--- End of inner ExceptionDetail stack trace ---
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayServiceHost.GatewayServiceHost.<UpdateConfigurationImpl>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.PowerBI.DataMovement.Pipeline.Common.TaskUtils.ExtendedWait(Task task, TimeSpan timeout)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayServiceHost.GatewayServiceHost.UpdateConfiguration(GatewayConfiguration configuration, Int32 maxRetries)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.Diagnostics.PipelineTelemetryService.ExecuteInActivity(PipelineActivityType pipelineActivityType, Action action)
at SyncInvokeUpdateGatewayConfiguration(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"

 

Issue 2:Gateway service health check failed because of timeout.

Below is the stack trace:
Health check failed because it cannot finish in 2000 ms.

 

I'm a Power BI Pro user now. I will appreciate it very much if you can give me a clue on how to fix the issues.

 

thanks,

Re: Excel table add to data model and Power BI automatic refresh?

Re: Connect to PostgresSQL on a server hosted locally with encrypted data

$
0
0

,

Are you able to decrypt the column in other postgreSQL GUI tool by writing the SQL statement?

Regards,
Lydia

Datasource error - unable to convert

$
0
0

DataSource.Error: ODBC: ERROR [HY000] [MySQL][ODBC 5.3(w) Driver][mysqld-5.7.12 mongosqld v2.3.1]column 'Table1.Column1': unable to convert '0.00' (string) to float64

 

This is just one of the Errors I get when connecting to my Mongo Atlas DB, others have similar nature. The ODBC connection is working fine, since other tables from the same source come in successfully.

 

How would it be possible to feed the data to Power BI, since I cannot easily change the info in the database itself?

 

Also, since there is a column that makes a problem in the file "Table1", can I remove the column "Column1" just so the rest of the Table1 would be imported? 

 

Names of the Table/column was changed by me to make it more understandable.

 

Any thoughts?

 

Re: Excel table add to data model and Power BI automatic refresh?

$
0
0

Hi,

 

I'm not using external data in this Excel document. Only data stored and managed within the Excel itself and the file is store in SharePoint, so there no need to rely in my gateways.

 

But I do some tests, and add in my data model ome data coming from an on premise SQL database. I was able to refresh these data from power bi automatically, but the data from Excel were not refreshed.

 

I also test by using the Power Query feature to import the data into Excel (instead of clicking add data to model) but the Power BI said dataset setting page said its not supported. so not able to refresh at all with this option.

 

So for now its not working, my user have to click the refresh all button. But I hope I'll find the solution Smiley Happy


Extracting Data from web site using JavaScript

$
0
0

I have been extracting Data from https://inciweb.nwcg.gov/ and the website defualts to showing active fires within the last 90 days. There is a filter to change it to 365 days and others, but when I go into power query I am only able to see the first 90 days no matter what. I think it is a table that is being changed by a JavaScript and so I can' see the new table when it is loaded.  Has anyone figured out a way to deal with JavaScript tables using Power BI?  I am new to Web Scraping and  could use some helps around this issue.

Access Manager field On-Premise Active Directory

$
0
0

I have been working with Power Bi for a few weeks now building different reports, so I'm a novice. In my latest attempt to learn more, I have connect Power BI to our On-Premise Active Directory and selected the User view. I have expend section of the view and every things working except for the Manger field.

 

Since the manager field is a reference field, I'm not sure where to get the data in BI. When I expend and capture the field, the rows show the word "record".

Screen Shot 2018-03-01 at 9.43.28 PM.png

Is there a way to put in a reference field such as manager?

Azure Analysis Services Live Connection Parameters?

$
0
0

Hi

 

I'm building a solution that is going to use Power BI and Azure Analysis Services Live Connection for multiple customers.

 

Is it possible to use parameters for the Azure Analysis Services Server Connection?

 

 

fat faster than ectomorphs Footbal

$
0
0

muscular tissues. Things such as dead increases, squats, leg media and bench media exercise perform multiple groups. Boost your loads and lower forskolin rt review the repetitions. Decrease aerobic. Have a necessary proteins shake before or after your perform out. Mesomorph A mesomorph has an enormous bone framework, huge muscular tissues broad neck place, bold look and a normally athletic forskolin rt program. Mesomorphs are the best forskolin rt program for forskolin rtbuilding. They think it isn't extremely challenging to acquire and get thinner. They are normally impressive making much simpler for them to get ripped. They are normally fit, however if there is any slacking with diet strategy strategy or workouts then they will the appropriate way. Their huge appetite can lead to huge portions sizes and overeating. Typical characteristics on a Mesomorph: Athletic Muscular Fit Generally complicated forskolin rt Well described muscles Rectangular shaped forskolin rt Strong Gains muscular easily Gains l players and health and health and fitness and health and fitness designs seem to have this forskolin rt program. Even though mesomorphs seem to have the ideal forskolin rt program and respond best to forskolin rt program developing, those with this forskolin rt program there are characteristics they have to control. They can get ripped in a few months and can reduce and sometimes acquire fat quickly, too. How much tends to fluctuate if they aren't careful. They can bulk up too much with training, look stalky, acquire fat if are not being attentive to their ideal diet strategy strategy and can look thick because of their underlying muscular.Since mesomorphs can get fat faster than ectomorphs, they have to watch their calorie consumption. A stability of forskolin rt program developing and aerobic is optimal for mesomorphs. Recommendations Diet Watch portion sizes Eat healthy and balanced meals Stop taking when 75% complete to prevent overeating Your diet strategy strategy should be composed of: 40% Complicated Carbohydrates 30 - 40% Lean Protein 20 - 30% Fat Dried Fruits Fish Avocado Oatmeal Chicken Olive Oil Potatoes Flax Oil Yams Nuts Exercise Focus on variety aerobic, operating, speed walking or use the elliptical at a moderate intensity to prevent bulking up. Avoid aerobic actions that perform the big muscular tissues (sprinting and spin classes). Practice

Re: Error while combining different excel files

$
0
0

Hi Ross73312,

 

Thanks for reply. I have followed the below steps :

 

1. The excel files are fetched from a folder. So the GetData -> Folder-> Combine& EditCapture4.png

2. Choose "First File" as an example file. Click OK.

3. I removed top 6 rows from the "Transform Sample file from Test Report". Then "Use First rows as Headers" followed by "Unpivoting the Columns".  Now I am getting error related to 2nd excel files and not able to find data related to it.

1st excel sheet1st excel sheetI am not sure what step I need to follow to merge/ combine both the files without any errors. 

 

Thanks

Re: Error while combining different excel files

$
0
0

My recommandation is to bring each file in one by one.  Get each one into the format you are happy with.  Do an append only after you have checked each file is now in the desired matching format.  This will let you step through the problems more easily if they arise.

Re: PowerBI and Dynamics AX Integration - filter by data record selection in Dynamics AX

$
0
0

Hi Lydia, 

I am currently using the ODATA feed for Dynamics AX online.  We have been told that the tables cannot be filtered using parameters with the ODATA url and so whenever a refresh occurs we must extract ALL rows and ALL columns before filtering on the PowerBi side.  This takes ages and on the service results in timeouts.

Is there a way to filter with parameters as part of the ODATA URL?  I've looked at documentation - https://docs.microsoft.com/en-us/dynamics365/unified-operations/fin-and-ops/  -  this says filtering is possible, but this one says it isn't supported https://blogs.msdn.microsoft.com/axsa/2015/02/20/power-bi-and-dynamics-ax-part-2-extract-and-transform/

 

Would yo able able to clarify for me?

 

thanks


Re: Access Manager field On-Premise Active Directory

$
0
0

,

Do you want to expand data from the Manager field? If so, click the button as shown in the following screenshot, and you will be able to get the data inside.
1.JPG

Regards,
Lydia

Re: Access Manager field On-Premise Active Directory

$
0
0

Thank You.   I was expending the manager field, but it again showed me all the fields as when I expended users so I thought I had to select the manager field again.  So I was just looping.   After thinking through your response, I tried it again and selected display name instead of manager and sure enough, it displayed the managers name.  Again thank you.

Re: Feb Gateway Installer Crashing

$
0
0

,

I can successfully install the latest gateway in Windows Server 2012 R2 and I download the installer from Power BI Service.

Have you selected Run as Administrator to start the installation? And could you please post the error message in Event Viewer?

Regards,
Lydia

Re: Feb Gateway Installer Crashing

$
0
0

Thanks for the reply .  The installation is handled by our server team and they have not provided those details. We have elected to wait for a future release.  Given the lack of response from other users, its likely the issue is related to our server somehow.  If it occurs on the next release, i'll get the logs and provide a more detailed ticket to support.

Re: Datasource error - unable to convert

$
0
0

,

Do you get the above error after importing data from your source into Power BI Desktop? If so, go to Query Editor of Power BI Desktop, check if there is a "Changed Type" under APPLIED STEPS. Delete this step if it exists.
2.JPG

In addition, if you don't want to reserve the Column1, you can write SQL statement to get required columns during the connection process.

1.JPG

Regards,
Lydia

Viewing all 122215 articles
Browse latest View live


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