dev3lopcom, llc, official logo 12/8/2022

Connect Now

Split url to columns using Google Sheets

The fast way to Split URL to Columns using Google Sheets.

If you’re a technical expert, here’s all you need to know to split text to columns in google sheets.Split url to columns - Google Sheets shortcut key professor

  • Shortcut keys = ctrl+alt+d, E, arrow keys up and down select between the options, enter.

If you’re not as technical and prefer a broken out explanation with screenshots, read below.

If you want to be guided more and things explained, keep reading.

We explain how we get the URLs automated, and share the exact logic used to do it below. In our 11 step tutorial.

The use case is we have 100+ URLs with coordinates from a previous lesson.

Split URL to Columns in 11 easy steps.

Let’s use Google Sheets Split Url to Columns function now!

  1. Left-click the column header with URLs

    screenshot of URLs in column C on google sheet for demonstration to split to column

    Left click above –Headquarters, to select ‘C’ the column header that contains URLs to split.

  2. Left click Data, Ctrl+Alt+D or Ctrl+Option+D,
  3. Left click Split text to columns… or E

    split text to columns for with URL tutorial screenshot

    Split text to columns on Google Sheets is extremely powerful for manual manipulation of a table of data.

  4. On the bottom of your browser – you’ll see a subtle menu. If you have a big screen, you could miss this at first! Google Sheets natively uses comma separator.

    separator split to text drop down

    We bring our browser window into a smaller vertical box, otherwise this Separator: Comma drop-down may be hard to see at first. Left click Comma to activate the drop Split text to column Dropdown.

  5. Left click Custom to open the wild card Split text to column finder.
  6. Type @ to separate by a character or many.
  7. Copy – Latitude – and paste it in column D header.
  8. Left click column D to select the entire column of Latitude, Longitude, etc….

    screen shot of column header latitude for split url to columns tutorial

    Left-click the column header to select the entire column.

  9. Left click Data, Left click Split Text to columns… (Refer to Step 4 screenshot above)
  10. Use Custom for the separator, and leave it set to default comma.
  11. Copy – Longitude – paste that to Column E.

    Latitude and Longitude have been split from a Google Maps Url copy paste.

Split URL to Columns in Google Sheets

Splitting text into columns is amazing if you want to avoid spending money to get coordinates.

Google Sheets offers a two-click win, 1 type win.

If you need any help with it, please comment below.

Saving time by macro-ing and using google sheets split text to columns function.

Stacking solutions are critical, we prefer KNIME, however this blog covers how to use Google sheets effectively.

We help some companies compute trillions of records using our Knime Consulting and Alteryx consulting expertise.

Enjoy!

Tableau Server Automated Dashboard Image or Images

Tableau Server Automated Dashboard Image or Images

We show you How to do Tableau Server Automated Dashboard Image or Images using Tab admin. While offering Tableau Services, you’re bound to create a few tabcmd solutions!

While working at tableau.com, our founder started using PowerShell to bulk automate dashboard content and focused on iterating things from tabcmd due to its simplicity.

You can begin using spreadsheets and the Tableau repo as a data source. This is easy to change into something more robust as you simultaneously scale this tableau server automation solution across your sites, projects, or everything.

Tableau provides the tabcmd command-line utility, which you can use to automate site administration tasks on your Tableau Server site—for example, creating or deleting users, projects, and groups.

Note: The tabcmd utility is included with the Tableau Server. However, its installer is not included. Download the installer from the Tableau website if you want to run it on a computer other than the initial server node. For more information, see Install tabcmd.

keyboard and mouse used to automate dashboard images off of tableau server
Thanks for visiting our Tableau Server Image Automation blog.

There are many ways to solve this workload; this is one version of the solution, likely legacy since recent updates. We will find out as the application grows; there are no complaints yet.

This chunk of code is “user-friendly” enough for non-technical experts to automate images off the Tableau server. We start by explaining this and how it works and leave comments in the code.

Tableau Server automation is helpful.

Are you ready to automate pulling PNG from the Tableau Server? This is your helpful guide.

It’s possible to use it to maintain an automated process… Which means hands-free automation.

It’s a 100% successful script to automate content since 2015.

Don’t stress out your hands; manual clicking is not a strategy.

hands hitting desk with coffee and keyboard because manually trying to get images off of tableau server is time consuming
Keep your hands and arms relaxed. The code will help you automate the process using the Tableau Servers repo.

It’s enjoyable to pick up a new language if you have the time or like new puzzles; we will use PowerShell.

Automate Dashboard Image or PNG Export Script

Please Note that the hashtag is a comment in PowerShell, and the script will not see this. You paste the code to win.

The code is pasted into a .txt and saved as a .ps1. Save and close after you add your edits and environment variables. 

We can’t offer you a .ps1 file because that would not work as a download; .ps1 files can have funky stuff, so be advised. However, this has been seen by thousands and used hundreds of times daily by 30+ clients. Ping

Update: I will come and upgrade the code to explain each segment.

We hope this helps you overcome the hard request! Scraping images or whatever you need for automated Tableau server content can be accomplished with this code below. Have fun!

#Comment – Read Comments, Edit Variables, Run it!

.#_______________________________Start here
# PNG EXPORT Script
# A PowerShell script to pull down pngs of Tableau “views”
#
# Created By – Tyler Garrett
# Email – tyler@dev3lop.com
# Version 1
#
#
# || NOTES ||
# Create Directory C:\POSH\PNGExport
# This directory will store all content
# Script expects Tableau Bin directory to be set in Environment Variable Path
#_______________________________

#________________________________
# Set variables
#________________________________
$TS = “http://localhost” #Server
$username = “admin” #tableau server account
$pass = “admin” #tableau server password
$pgUSR = “readonly” #readonly account password must be setup beforehand
$pgPW = “admin” #postgres password
$SiteF = “BeepTest” #site you’re pulling PNGs from
$ProjectF = “ProjectTest” #project you’re pulling PNGs from
#_______________________________
cd C:\POSH\PNGExport
#_______________________________
#————–=====================]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
# |
# Query postgresql and build CSV with workbook URL (3 steps)|
# |
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
# |
# 1.Connection info |
# |
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦

#Commented – Open connection to database to query repo

Set-Location “C:\POSH\PNGExport”
function Get-Stuff
{
[CmdletBinding()]
param (
[string]$connectionString,
[string]$query
)
Write-Verbose’ Getting Tableau Server Extract’
$connection = New-Object -TypeName System.Data.Odbc.OdbcConnection
$connection.ConnectionString = $connectionString
$command = $connection.CreateCommand()
$command.CommandText = $query
$adapter = New-Object System.Data.Odbc.OdbcDataAdapter $command
$dataset = New-Object -TypeName System.Data.DataSet
$adapter.Fill($dataset)
$dataset.Tables[0]
}
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
# |
# 2.Query PostgreSQL |
# |
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦

#Commented Utilize Driver and funnel query to repo through.

$connectionString = ‘Driver={PostgreSQL ANSI(x64)};Server=localhost; Port=8060; Database=workgroup; Uid=’+$pgUSR+’; Pwd=’+$pgPW+’;’
$query = @”
SELECT
v.view_url
FROM _views v
INNER JOIN _workbooks w on (w.id=v.workbook_id)
INNER JOIN _sites s on (s.id = v.site_id)
WHERE s.name = ‘$SiteF’
and w.project_name = ‘$ProjectF’
“@
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
# | Don’t change anything in the syntax around the query above, I tried and it broke.
# 3.Build CSV to be used for tabcmd from the above query|
# |
#¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
Get-Stuff -connectionString $connectionString -query $query | `
Select-Object -Skip 1 -Property view_url | `
Export-Csv -Path “C:\POSH\PNGExport\Reports.csv” -NoTypeInformation -Delimiter “;”
#————–=====================]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
#_________________________________
# Loop through CSV from above and export those views as PNG files
# -replace is used in the loop to save the file name with out a “/”
# because this value isn’t allowed in a file naming convention
# error output will be generated in the folder
#_________________________________

#Comment Loops in Powershell to export PNGs

#Comment: pay attention to this looping process; you can tabcmd your way through anything.

#NOTE: Change Paths

tabcmd login -s $TS -u $username -p $pass -t $SiteF
ForEach ($wb in @(Import-Csv -Path C:\POSH\PNGExport\Reports.csv | select -expand view_url) )
{
Try
{
$newwb = $wb -replace “/”, “_”
tabcmd export $wb –png -f $newwb 2>> C:\POSH\PNGExport\TabCmdGetWbErr.txt
}
Catch
{
Write-Error -Message “Error occurred: $_”
}
}
#_________________________________
# Convert PNG to BMP – helps people who are moving these photos into Powerpoint
# Comment the Dir *.png…. line out of the script if you want to keep them as PNG files
#_________________________________
Dir *.png | rename-item -newname { $_.name -replace ‘\.png$’,’.bmp’ }
tabcmd logout
#_______________________________End here

End of your Tableau Server Automated Dashboard Image Script

As we said, Tableau server automated dashboard images are straightforward with the correct code & explained in detail!

Let us know if you run into issues.

4 Steps – How to Embed Google Data Studio in iFrame

4 Steps – How to Embed Google Data Studio in iFrame

If you need to embed Google Data Studio reports in an iFrame on your website, we have that solution here with screenshots below.


How to embed google data studio steps.

  1. Click File
  2. Click Embed report
  3. Click ‘copy to keyboard.’
  4. That’s it. Celebrate. You’re done. It’s free and there’s no monthly fees or subscription.
  5. Screenshots below!

The embed google data studio code – iframe

The code for embedding google data studio in an iframe is very easy.
<center><iframe style=”border: 0;” src=”http://XXXXXXX” width=”500″ height=”900″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></center>

Google Datas Studio Embed is packed with mobility.

Everyone is focused on reoccurring revenue and missed the functionality most users request. From easy embeds, to free ability to share across the organizations without a hefty pricing punch.

Google Data Studio has a lot of sharp swords in its disposal, for now lets focus on the mobility.

Squeeze down the browser to see how responsive everything is without any programming or clicks.

Google helps the world take a huge step in the right direction, as currently you have to build multiple iterations in Tableau Desktop – or your end users are stuck with a static mold or automatic sizing that doesn’t work for all devices because most users utilize large font sizes on their computer without even understanding what DPI settings are.

Hey, we only built this to offer a free solution because companies are trying to earn revenue off of this easy to do feature. Let us empower you to do this and you can save your bucks for another day.

Feel free to poke around after you finish embedding your google data studio report.

Embedding Google Data Studio Screenshots

Let us know if you need help. Advice is free! For solutions please see our business intelligence page!

Embed google data studio in two clicks, step 1

Embed google data studio clickthrough. It’s only two clicks away!

Embed google data studio in two clicks, step 2

Step 2 copy to clipboard! Embedding google data studio is too easy, thanks Google.

Disabled Service: Update Orchestrator Service: UsoSvc

Disabled Service:  Update Orchestrator Service:  UsoSvc. We will discuss how to access your Update Orchestration service, the steps to find the service on your computer tools, and how to process your next steps.

We want to enable the update orchestrator service UsoSVC from manual to automatic. a quick set of steps that will walk you through your control panel, system and security, administrative tools, and services.

The step by step below will help you learn how to find these administrative tools, how to change your orchestrator setting, and

  1. Left click the Start Menu
  2. Left click Control Panel
  3. Left click System and Security
  4. Left click Administrative Tools
  5. Left click Services.
  6. Select a service to adjust by double-clicking
  7. In the General tab, Startup type section, select Automatic (Delayed Start), Automatic, Manual or Disabled.

Faster method.

  1. WINDOWS KEY,
  2. Type ‘Services’.

Simplified steps below or feel free to use this windows forum solution to solve this.

Use case: Disabled Service:  Update Orchestrator Service:  UsoSvc

Solution: Swapping Update Orchestrator Services from manual to Automatic, an inherent trait of windows ten safe mode.

Update Orchestrator from Manual to Automatic – Problem Resetting PC: Part 3

  1. Update Orchestrator Service/UsoSvc needs to be changed to Automatic.
  2. Start the service.
  3. WINDOWS KEY
  4. type ‘Windows Update.’
  5. Clicked on the search for updates.

Kick off updates, and hope for the best.

Dev3lop is here to assist you with any extra help, we focus on tableau consultingknime consultingalteryx consulting, and other forms of custom solutions.

Main blog;

Starting windows 10 in advanced mode;

Error handling 1084;

Start Windows 10 in Advanced Boot Options

Starting Windows 10 in Advanced Boot options, using your mouse and keyboard. Hold shift, right click windows restart button, and continue to hold shift.

You will then boot your system to the following options.

Steps explained below.

Start windows 10 in advanced boot options walk-through.
  1. Left click your windows button.
  2. Hold shift from now until the computer restarts
  3. Left click (while holding shift) the power button.
  4. Left click restart (while holding shift).
  5. The computer will start with options, choose the option that starts the machine safely with network connectivity (if you need to get online.)

Next step;

Back to original blog;

How to Create a Schema in your MySQL Workbench on Mac OS

How to Create a Schema in your MySQL Workbench on Mac OS

Let’s create a Schema in your MySQL Workbench on Mac OS.

Welcome to a quick and user-friendly guide to generating your first schema in MySQL.

By the end of this blog, you will understand how to generate a MySQL schema.

A schema is necessary for importing CSV files or JSON files because our end objective is uploading CSVs and performing custom SQL, and pushing that content into Tableau Desktop.

Our following blogs will help you with importing a CSV into MySQL on your Mac OS.

If you don’t currently have MySQL on your Mac OS – follow our other tutorial on how to install MySQL on your Mac.

You’re creating a schema – not a database!

Firstly we are going to want to understand the verbiage used in the product and the difference between database and schemas.

After you’ve downloaded MySQL workbench – we will want to begin bringing in data for Tableau consumption.

MySQL has Schemas in the database!

I’m sure you’re familiar with what a database is, if not, here’s the definition.

A database is a structured set of data held in a computer, especially one that is accessible in various ways.

In the MySQL – you can build multiple ‘folders’ in your database, called schemas.

Schema VS Database

database is your primary container; it contains the data and log files, and all the schemas within it.

You always back up a database; it is a discrete unit on its own.

Schemas are like folders within a database and are mainly used to group logical objects together, which leads to ease of setting permissions by the schema.

Creating a Schema in MySQL Mac OS

Let’s talk about the point and click methods first.

When you have your workbench open – you’ll notice a place on the bottom left labeled “SCHEMAS,” and that’s where we want to click right to build a new Test Database!

create schema on mysql mac os mysql workbench alt text

Creating your first schema on your Mac OS MySQL.

Setting up your MySQL Schema on your Mac

Let’s start setting up your MySQL Schema.

Name your MySQL schema “Test_Schema1.”

schema name settings for test schema on mysql

After you right click to create your schema – rename your MySQL schema.

Use UTF-8 for your collation.

What is UTF-8 Collation?

From Wikipedia, the free encyclopedia

UTF-8 is a variable width character encoding capable of encoding all 1,112,064 valid code points in Unicode using one to four 8-bit bytes.

The encoding is defined by the Unicode standard and was initially designed by Ken Thompson and Rob Pike.

The name is derived from Unicode (or Universal Coded Character SetTransformation Format – 8-bit.

We will use UTF-8 for this schema.

utf8 collation selection on mysql macos alt text

MySQL refers to UTF8 as a common choice. For our needs – let’s use the UTF8 default.

Click apply – which is on the bottom right of the screen.

Left click apply.

Left click to apply.

Wrapping up your schema build in Mac OS MySQL Workbench

Let’s wrap up your schema creation in MySQL.

If you’ve followed along you will see this window.

schema creation on mysql for Mac OS

MySQL generates SQL, shows it to you, and maybe that’s easier for you in the future?

This leads us to our next topic.

Using SQL – instead of the GUI!

Using SQL to generate a Schema in your Mac OS on MySQL Workbench

Using SQL is an alternative to the clicks we just gained your first schema. Woot!

Most GUI steps on MySQL will uncover SQL that you’ve generated VIA using a built-in wizard.

The native features in MySQL offer a glimpse into creating your first schema.

CREATE SCHEMA `Test_Schema1` DEFAULT CHARACTER SET utf8 ;

You can copy and paste this code into a query on MySQL.

If you have MySQL Workbench open, you have a query open!

Paste your code and build Test_Schema2.

creating a schema in mysql query in SQL

Change your Schema1 to Schema2. Click the lightning bolt to execute the query.

Now you should have two SCHEMAS – be sure to click the refresh button, and both will be present.

It will look like this screenshot below.

schema refresh button on mysql Mac OS

Click the tiny refresh button.

Get used to clicking the refresh button on MySQL Workbench and all other database GUI interfaces.

You’re making changes to something living and breathing on your computer, and right now – you have a database on your computer. Congratulations!

Again, the refresh is a normal process, don’t worry if you don’t see your work – especially if you’ve not refreshed your GUI interface, also known as your MySQL Workbench!

Did you expect it would be this easy to create a Schema in your MySQL Workbench on Mac OS?