FileMaker: Match table value with corresponding picture from other table - filemaker

I've just started Using FileMaker Pro, I had been using Excel before and wrote it all in VBA, but I'm trying to achieve the same thing now in FileMaker.
So I have 2 layouts.
Layout 1 has a table that gets it data imported from a CSV file
Layout 2 has a table where the user can input data from FileMaker by clicking New Record
Layout 2 has 3 fields, 2 of them are dropdowns and the dropdown options are pulled from the first 2 columns of the table in Layout 1. The third filed is a container where the user can insert an image.
So I'm trying to make it so when the user selects a row in Layout 1, it will display a picture that matches the value in Layout 2.
If that doesn't make sense, let me try explaining with examples:
Layout 1 has a bunch of rows of data:
Car Make / Colour / Year / Country
Fiat / Red / 2018 / France
Ford / Blue / 2010 / Germany
BMW / Green / 2017 / UK
Layout 2 allows the user to input
Car Make / Colour / Picture
Drop down from 'Car Make' / Drop down from 'Colour' / Container to insert picture
Then when the user is on Layout 1 and clicks on a row that contains Fiat in the Car Make column, and Red in the Colour column, it will look at the corresponding picture from Layout 2.
So far I have made the 2 layouts, but I'm struggling to work out how to have them talk to each other. Is there a way to do it through FileMaker's UI or does it need to be scripted with an if statement somehow?
Would appreciate some advice and pointing in the right direction!
Thanks

You have to create a relationship between the two tables. It's in the manage database/relationship panel.
Match by the criteria you choose and then you can display data from the related table in your layout.

Related

Tableau - KPI (Forms) using different variables

Im trying to perform a KPI on Tableau based on the rank of certain variables such as sales and profit as the excel example below
KPI = If the country position (using rank formula on Tableau) is on TOP 3 = GREEN; TOP 5 = YELOW; OTHER = RED. As the second table shows
On Tableau, I would have to create 2 calculated field KPI_SALES & KPI_PROFIT following the logic above
The ideia is to use the forms with the 2 calculated fields created above, however, the problem it that Tableau only allows to use one variable on forms which is my problem, i will have to use 2 variables on this example
There is any other way to accomplish it?
Yes, you can do this. Go to each sheet and click on the Label Card in the Marks Shelf. Then click the box that says "Allow labels to overlap other marks". See picture.
I have solved the problem by creating fake columns such as sum(0)
so each card would allowed by the chose different variables to put on marks as the picture below shows

SAPUI5 page with 2 containers (1 small and dynamic, 1 big and static)

Good day,
I'm trying to create a page using SAPUI5 which basically has 2 containers.
One container is an area where the end user can select certain items on a "picture". (e.g. different areas of a chemical plant)
The other container should then show additional information (e.g. graphs) relating to the item which has been selected in the first container.
What type of containers does SAPUI5 have which will be able to perform this function?
If I was you, I would select the Flexible Column Layout.
You have details here
https://experience.sap.com/fiori-design-web/flexible-column-layout/
More options in que left side menu (layouts or floorplans)
Working examples here
https://sapui5.hana.ondemand.com/#/entity/sap.f.FlexibleColumnLayout
You can do 2 or 3 columns as you wish

SSRS Double row headers and data display for printing

** I'm using SSRS2008 R2
I have a report that the users would like to see in a printable pdf.
Problem is there are several columns, potentially too many to fit on a printed 8.5x11 paper.
One of the concepts they suggested was a stacked header/data display, like breaking the columns into 2 rows, so 2 rows of data (for John and Bill) would look like this:
NAME START_DATE STATE COMPANY
ACCOUNT BALANCE END_DATE
-------------------------------------------------------
John 1/20/2016 NY GE
10076 $100.00 2/20/2016
-------------------------------------------------------
Bill 5/13/2016 MA Netflix
00013 $150.00 12/31/2016
-------------------------------------------------------
This leads me to 2 questions:
Is there a way to do this with a tablix?
AND/OR in addition, is there a way to set a default property on the report so when the report is exported to pdf and to print, that it defaults to fit all columns on one page (therefor shrinking the font size to fit on page?)
For anyone that cares - Apparently this can easily be achieved by dragging a Tablix onto the work area, right clicking the header row, adding a new row underneath (basically becomes header row 2), then do the same thing to the details row - however make sure to insert row - Inside group. That allows you to have stacked header and data rows and you can copy / paste headers and row values in whichever row you'd prefer.
it will work if you make all the columns on the same height not unequal. If all the columns has same height, then while exporting to pdf/excel and print it will come in the same page.

How to color code cells of a column based on the text value in Tableau

I'm a new tableau developer trying to develop a table based tableau report. I have a column in the table called "Status" which essentially contains 3 values "In progress" , "Blocked" and "Completed". I want to color code the cells of this column based on these text values. I was unable to get this from the tableau community and hence posting it here. Anyone faced this problem? Kindly let me know how you solved it.
Raghu
First thing, Tableau is not excel. Stop trying to make Tableau work like excel, you'll miss most of the power Tableau brings, and make it inefficiently operate like Excel.
That being said, let me give you an alternative. Instead of text chart (which is what you're using to get a table), select Shape chart. This will add balls in the last column (but you can choose what shape you want)
Now drag the Status to color, and voilĂ , the balls are painted accordingly to Status. You can customize the shapes too (just drag some field to Shape), and selected what shape and color you want to each value.
This will look more like a "control panel", with the color of the balls something like a traffic light. You can even import some pictures of traffic lights and use them as shapes, that could be cool (if properly used)
I know this post is a couple years old, but there is a way to do this. In a new tableau workbook, import the data from Excel (just one column with the status values). Rename the table to "Status Colors" with a dimension field called "Status". Click the dimension field "Status" and select Default Properties > Colors. Assign the colors to each data item (value). For custom colors (RGB, HTML, etc.) double-click the color next to the value and assign the desired color. Click OK, then publish the data source to the server with the options checked to "Include external files".
You now have a Tableau data source that can be added as data to any other workbooks that when linked, the [Status Colors].[Status] can be used as the color key for the field on any graphs. The default colors are stored in the data source. If you update the color workbook, then it will update any other workbooks that use this data source.
Since SO community has thrown it in active threads, let me propose an answer. Though, I completely agree that we shouldn't replicate features of excel in Tableau, yet here is one workaround.
I took a dummy data like this
create a calculated field say status cf with the following calculation
CASE [Status]
WHEN 'In Progress' THEN 'Yellow'
WHEN 'Completed' then 'Green'
WHEN 'Blocked' then 'Red'
END
create two more CFs say 1 and 0 with just 1 and 0 in these as calculations.
Drag dummy and status to rows shelf. sum(0) and sum(1) to columns shelf.
Drag status cf to sum(0). Edit sum(0) in marks card with type as shape (square), and increase its size. edit colors as fixed in calculation.
Drag status to label in sum(1) in marks card. change type to text
Convert both measures in columns shelf as dual axis.
After a little formatting, you'll get a text table like this
You may optionally hide, status col in rows shelf

Gravity form show form dynamically

my question I'm sure is a simple one but one that I am completely stumped on.
I have 4 gravity forms say, ID1, ID2, ID3, ID4.
I want the user to select from a dropdown which area they want. There are 4 areas. So if they choose Area 1 in the drop down,I want gravity form ID1 to load dynamically below the drop down.
If they choose area 2, then gravity form with ID2 loads etc. You get the picture.
Is there a very simple solution to this please?
Thanks
Depending on what your forms are - I would simply make one form with the 4 forms in it that display VIA conditional logic. The first thing (and only thing) you see is a drop down to choose options ID1 to ID4 and then based on that selection the conditional logic allows the parts of that form to be displayed.