• Resolved sheohomeliving

    (@sheohomeliving)


    Hi,

    I’d like get data from table below;

    Input 1 (Humidity: 10%, 20% …)

    Input 2 (Temperature: -20, -15, -10 …)

    Result will index row vs column;

    Kindly help

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor DmtLo

    (@lobov)

    Hello.

    You must create an object with all the data and then choose the value by the fields Humidity and Temperature.

    Example:
    Field select: Humidity
    100% = 1
    90% = 2

    Field select: Temperature
    65 = 1
    60 = 2

    Formula:

    const table = {
    	1: {
    		1: 160.3,
    		2: 129.6,
    	},
    	2: {
    		1: 144.3,
    		2: 116.6,
    	},
    };
    
    y[1] = table[x[1]][x[2]];
    Thread Starter sheohomeliving

    (@sheohomeliving)

    Perfect! Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Humidity Calculator: Get data from table’ is closed to new replies.