What are metabase connections in the table analysis - connection

When I am looking at a "Question" in metabase (i.e. a database query), I can click on a book-like icon that says "Learn about your data". Clicking on that icon opens up a view of all the tables in my current database. When I click on a specific table, I see all the fields in that table. At the top is a selector box that says "x FIELDS" and another that says "x CONNECTIONS". Generally, it says "0 CONNECTIONS". What do the "connections" refer to? I don't know what this is, and why it says ZERO?

Related

Excel enter cell value from a list

I have a budget spreadsheet for simple money transactions. One of the columns is the transaction category (e.g. Grocery, Auto Supplies, Insurance, Entertainment, etc.)
Rather than spell out, let's say, Insurance, in a given cell, I would like a list of possible values to appear, so that I can select one of the values (e.g., Insurance) and have Excel put that value in the cell for me. That way I make sure that Insurance is spelled the same each time I use it.
Is there an easy way to set this up in my workbook, preferably without getting into VBA coding?
You can create a dropdown lists in Excel. What I found from this video:
"
Select the cells that you want to contain the lists. On the ribbon, click the DATA tab, and click Data Validation. In the dialog, set Allow to List. Click in Source. In this example, we are using a comma-delimited list. The text or numbers we type in the Source field are separated by commas. And click OK. The cells now have a drop-down list.
"

Hyperlink from a count query to extract associated data in access

I have a Count query that uses multiple criteria to produce a result looking like:
count ID
1 "abc"
4 "bcd"
5 "def"
1 "cde"
This shows how many times the ID appears in a given database. The datasource is through an odbc connection that updates automatically. So the ID values change everytime it is opened. I would like to try to turn the unique ID or the associated count into a hyperlink that when clicked will return all information involved in the count (*note the database has much more information associated with the ID's than is counted, a date range of the previous three months is applied.) Can this be done simply?
Database format:
ID Instance Device DateBeg DateEnd
Thanks in advance,
LP
The short version -
This should be simple to do using a report (but could also be done using a form I will be explaining how to do a report for this version). You would just make a report that includes all of your fields then call the report on click. It is important to mention that you will need to view the query via a form to make this work.
A more detailed version -
The first step will be to make a form based on your query (you will not be able to do this directly from a query). To do this select your query then click on the create tab then click Multiple Items Form. Adjust as needed.
Then create a report that shows ALL of the records how you want it to display. (I will call it rpt_ViewDetails) (we will limit later)
When you are done adjusting click on the field that contains the "abc" etc. results (if this is a calculated field it will be more complicated.) I will call this field "Criteria" for the example. Go to the events tab on the property sheet (in design view). use the On Dbl Click event and go to code builder.
This is what the code would look like (place in between the private sub.... and the end sub lines of code):
DoCmd.OpenReport "frm_ViewDetails", acViewNormal, , "[Criteria] = " & Me.Critera
Let me know if you have any trouble with this, also let me know if the structure is different than I am assuming, I will need a more detailed report of what the query is doing if this is the case, what the structure of the database is etc.

get KW in campaigns with campaign label

I want to know if there is any way to get KW from campaigns that have specific campaign label
For example:
To get top 10 KW in campaigns that have campaign label that called "abc" ?
Thanks
The best method for this is to attach the campaign name as a label on the keyword level. If you have only a few campaigns, you can go into each campaign, then keywords view within the UI, select all and add a new label with the campaign's name.
If you have a giant account (this won't work if you already have other keyword level labels set, if you do, use the first method):
Go to Keywords view from within the UI.Download Keywords report (check editable)
Then copy the contents of the C column and paste the contents into the Label column (making sure the column is still called "Labels" [don't change anything else]
Then click the Reports and Uploads tab in the left navigation window.
Select the Uploads subtab.
Click "Browse for file" to locate your edited and saved report.
Click the "Upload" button.
A yellow box will appear reminding you that uploading the report will immediately update your account. (Beyond this point, there is no "undo" or "cancel" option.) Clicking "Yes, I understand" will immediately begin the process of applying your changes to your account.
Now all of your keywords are labeled with your campaign names!

What are hidden fields in a Clarion .TPS file?

I am looking at extracting some data from a Clarion .TPS file and I have been using the TopScan Application to open them.
When I look at the tables there are lots of hidden fields.
Are they just protected fields i.e. to stop someone from seeing the information or are they something to do with the indexes?
Also would using the ODBC driver reveal what they are?
Reards
The first time you open a TPS table using Topscan, it only shows the first few columns (15 I think) and the rest are set as "hidden". This is only a feature of Topscan, not a developer or technical restriction.
To view them, click on the menu Column ยป Show/Hide.... It will show a dialog with all the columns in the table, click the button Select all and OK and all columns will be displayed.
After you close the table, a new file tablename.SCN will be created, it saves the visible/hidden status of the columns and any other changes you make the view (column width, position, picture, etc.)

Should I use the user's current culture to compare computer names?

I've got a list view and a button. The list view has columns "Server Name", "Operating System" and "Description". The button populates the list view with computer records from Active Directory.
The columns are clickable, and sort the list view as relevant.
When doing the comparisons, should I be using the user's current culture settings, or should I use the invariant culture?
I would use invariant, since neither "Servername", "Operating system" or "Description" changes if you change language.
Only place, where culture concideration are important are when you are dealing with numbers and dates.
Hope it helps

Resources