How to Create Name Labels and Map Them to Data Source Items in Tableau Desktop? - mapping

I have a list of locale names for the languages being used in the reports. Without making any changes in the Excel or the Data Source, can I create a new set of language names that are more user friendly for non-technical, business people who will be using the reports?
To explain this further, I would like the names under Target Language to be displayed as Arabic, Czech, German, English, etc.
The card/filter is used in more than one worksheet, so I'd like to have a global option to apply wherever needed. (I've deleted the other fields/table names for privacy reasons)
I already tried googling and checking Tableau Help Center, and also this other post on Stackoverflow, but those don't really answer my question and I'm still not clear on how to do this.

Related

IMPORTRANGE cannot be used along with normal filtering system

I have a website in English that I just translated in multiple languages.
For my English website, I have a dashboard where I track the performance of all my URLs on a monthly basis. I update this list when a new article is being published. Now, every time a new articles is published in English, it will be automatically translated in other languages and a new URL will be added to my website.
I'm trying to find a way to mirror my English report for all the other languages without having to maintain the URLs list the same way I do with English.
I thought using an IMPORTRANGE from my English master file where I will grab the list of URLs would be the best solution. However, by doing this, I won't be able to use the filter in my other dashboards.
Any suggestion on how to achieve this?
I've made a sample sheet to quickly show my issue.
If you have an imported range and manually input data, you won't be able to "join" them for the sorting part inside the filter. I was asking you if source data would remain in the same order, because if it does (meaning your new data will be "aligned" row by row with your manually input sales), you can sort and filter the range via formula in another column:
=SORT(A2:B,2,0)
With some filter:
=SORT(FILTER(A2:B,B2:B>=10),2,0)

Custom Report Printing in Oracle Apex

What is the best way to create a Custom Report Template to print in Oracle Apex ? I saw some posts that've already been answered, but since they were Apex 5.1, I was wondering if these were still up to date, or if there are easier way no (I am using Apex v21.1). Also, the "Printing" attribute in the Reports does not give me the possiblities to do these specific things :
I would like the users to print an Interactive Report, which will display the logo of the company, the export date, and the data obviously. Is it possible to set custom margin so the list take more space on the page, and to set a custom size for the column, in case I have a column with a long text in it ?
Thanks in advance,
Thomas
Welcome to one of the weakest points of Oracle APEX, printing.
Honestly, the best option is Apex Office Print(AOP), but they are a paid plugin.
They enable lots of different printing, quite easy to grasp, and I am quite satisfied with them.
Other options I have seen are:
Make an excel sheet from within the database and you can generate that dynamically(you can also expand fields, colour them, probably can also put an image in there but I havent tried that).
I once decided to torture myself and I tried printing through HTML, as in I created an HTML document with the data I wanted(I made an invoice), but that has many problems, chief among them being page breaks.
Another option that was recommended to me, but that I have not yet tried was setting up an Apache FOP, having the Oracle database generate an XML, send it there and get back a nice looking pdf(http://www.apex-reports.com/videos.html).
I hope you get something working, and if you try this Apache FOP approach please let me know how it goes.

Umbraco 7 Limiting possible Tags values

On our website, it is possible to tag content by a country list. This country list could be implemented as a tag control but I'm concerned about mis-spellings creeping in over time. However, the country list is very long (150+) so not ideal for a dropdown multiple control either.
What I'm looking to do is have a control that has the same type + autocomplete functionality as the existing tags control but limit the possible values to those retrieved from a database table.
I also want to be able to list all tags that a piece of content has been tagged against as well as searching for content based on tags e.g. GetNodesWithTags
Has anyone developed anything like this before? I've had a look at packages etc but can't see anything similar. Does anyone have any advice before I start off?
Definitely, using Tags datatype for this may cause a lot of problems :)
In my opinion, the perfect solution will be to use nuPickers (https://our.umbraco.org/projects/backoffice-extensions/nupickers/) package and available there TypeaheadList Picker.
Depending of your additional requirements, you may use Lucene index / C# accessed source (totally custom - db, static, enum etc.) / XML file source as a prevalues for your control.
Then, you'll be able to create logic which will enable you to perform search based on this field as it will be a typical property with value on the nodes. Once again - suggested way is to use Lucene Examine index as it's tailored to be fast with searching. You can read more about searching with Examine here: https://our.umbraco.org/documentation/reference/searching/examine/.
Hopefully it will solve your problem.

Best way to switch languages in the software or website?

I want to know the best programming technique to switch languages in the software or website. So anyone can give me some suggestions? Thanks!
There is no standard. But I used the following technique in websites.
Put all the visible strings (eg. "file", "menu", "contact us") in a file or database. It can be xml, json or any format that you easily parse later. Make sure all the data is saved in different directory/db tables according to locale/language.
Wrap all the strings with a function or static class method. Every time they are displayed they'll go through some processing.
When you first load the software or web determine the locale or language that user wants to use.
According to users choice select the string source. database, filepath etc. For e.g. if user want to see strings in en_GB locale, find strings in en_GB folder or in lang_en_GB table. Naming format is in your hand.
Now each time the function or static class method is called find strings in the source you selected on Step 4.
It depends on the language you are using. Many have built in support for it. In android for example what you do is store all strings into an xml file that is named based on the region. And the operating system will automatically use the appropriate resources based on the phones region.
Look into what support your language/platform includes. You will want to externalize all your string constants such as "Press the menu button" into an external file. Then just get this file translated to each language you want to support, and use the OS to automatically use the correct resource file. Or if the platform/OS does not support such a thing write some code to determine which resource file to use yourself.

How to normalize company names

We have user generated names of employers that come in all variations. For example, people have typed in or imported:
Google
Google, Inc.
Google Inc.
Google inc
To a database search this, looks like a different company all together. We've changed some things to map each employer to a "normalized" name, but with 70,000 in total, it becomes hard to do it by hand.
Does anyone have suggestions on how to normalize the existing entries, and also how to maintain we do it for all incoming names as well?
There are two things you can do to help:
When users are adding a company name, give them an autocomplete box so that they get suggestions if it already exists. Alternatively suggest an existing one like stackoverflow does when you add a question.
Use a search tool when querying the database so that you can summarise all variations. You can find search gems here https://www.ruby-toolbox.com/categories/rails_search
I don't think "normalizing" them after the fact will be easy nor accurate.

Resources