geodata reconciliation with OpenRefine using longitude and latitude - geocoding

I have a xls table containing a column with long lat information: for example "60.974387; 25.6472465" and i would like to reconcile that information in Openrefine to get the name of that place (or nearest place)
Does anyone know a reconciliation service? and the link to it?
Many thanks,
Tim

There's this (https://simplemaps.com/data/world-cities) if you want to do the match outside of Openrefine (e.g. database queries)

Related

I can't filter the column description in the datacatalog(GCP)

I'm trying to filter the gcp data catalog, in which I try to filter column descriptions, using the description qualifiers: student name attribute.
Unfortunately, no return.
other qualifiers that I couldn't get back were also:
type=tag_template
system=data_catalog
Can anyone help me?
May I ask what is the column description and what is the exact query you are searching for?
Column descriptions should be searchable.
If you are using the data catalog UI, on the main search page tag templates (and entry groups) are hidden as they show on separate pages.

Is it possible to provide USERPRINCIPALNAME in a Calculated Column?

I have a requirement in my project where I have to concatenate the e-mail ID of the report user in a column.
The Column where this has to be done is a web-link that redirects to a different application.
So for eg: the data in the columns is "**www.abc.html?/powerbi**".
My result should be "**www.abc.html?/powerbi,emailid#company.com**"
I want to get the email id of the user who is accessing he report.
I am not able to use USERPRINCIPALNAME() in calculated columns. Is there any alternate way to achieve this ?
Thanks in Advance.
Best Regards,
Pratik
Columns are created at refresh time, and it would not make sense to include things like USERPRINCIPALNAME in a column.
Measures are calculated at query time, and can contain these things. You could try to incorporate this in a measure instead.
You can concatenate the value of userprincipal() into a text field with a DAX query in a measure. An example of this is below:
WebUrl = www.abc.html?/powerbi,"&Userprincipal()&"/somefolder/"&FirstNonBlank(Table[ConcatText],Table[ConcatText]=Table[ConcatText])
If you need it with specific text from another field, you can force the text from the line by adding formula like FirstNonBlank() as below:
WebUrl2 = www.abc.html?/powerbi,"&Userprincipal()&FirstNonBlank(Table[TableName],TableName[Text]=TableName[Text])

Summarize/GroupBy Distinct in PowerBI

I have a PowerBI file with CSV files as datasources. I created a table in PowerBI that summarizes the fields of a CSV file, and added a PrioirtyGrp field with Name, ID and Priority concatenated to group by.
I haven't found a way that works to group the rows of a single table by the PriorityGrp value in each row. If I have a data set such as:
I've been trying to summarize and group on the PriorityGrp field to get a resulting table of:
but no luck. What I know of SQL and VBA hasn't been much help in getting my arms around DAX, and I'm planning on doing a course, but if anyone has syntax for a Summarize, GroupBy or some other statement that could help with this, it would be much appreciated.
Thanks,
Mike

Power BI visualization of data with a Start and End date

THis is an example of what I think i need to do
I would like to ask some modeling advise I cannot solve myself:
I am using Power BI to visualize the time machinery is out of order.
The source is a register of equipment not functioning, with a start date and end date (note that there is no end date if the machine is not fixed yet).
I would like to show the time (hours, percentage, etc) that the machinery is out of order, filter for a specific period /date (e.g. month).
So I have 2 date columns: ‘’Start out of order’’ and ‘’Back in order’’
I do have a date table, which I usually would connect to all the date variables. However, since I am working with a Start and End date. This does not give the result I am looking for.
Any help is very much appreciated!
Kind regards,
Link to my Power BI FILE:
https://wetransfer.com/downloads/83ca3850392967d0d42a5cc71f4352c420200213160932/eb7353
Stijn
I am not sure how you would like to visualise your data, but this is what I managed to do:
create a daysdiff column with
Daysbetween = IF(ISBLANK(TF_Eventos
[End out of order]);DATEDIFF(TF_Eventos[Start out of
order];TF_Eventos[TODAY];HOUR);DATEDIFF(TF_Eventos
[Start out of order];TF_Eventos[End out of order];HOUR))
This creates your column to check difference between Dates.
Then create a separate column with your Date. In this case I copied the Start out of order date, since I thought you might wanted to be able to filter for the start dates. Then simply create a relationship between your newly created Date column and your start out of order date.
Doing so lets you create a visual with the daysbetween (in this case portrayed in hours) and your start dates. Now just simply add a slicer and you can filter on date.
Hope this helps

How to use REGEX patterns to return day of the week if a date is entered?

I am trying to create something that will populate the day of the week in one cell based on a date entered in another, BUT in Master Data Services. I know I will need to do this in a business rule and apply it to the attributes. I am wondering if this can be don using REGEX patterns or any other clever method. So, for example if I have a column with 12/21/2016 in it, I want the next column to say "Wednesday". Thanks!
The simplest way would be using sql and use a calculated column or directly in a view. I'm not that familiar with MDS so there might be a better solution (or not even possible).
alter table mytable add weekday as DATENAME(dw,fieldname) persisted
Do never try to do your own date/time functions, you will fail