Difference between revisions of "Adding a dimension to a variable"
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category: Variables]] | |
− | < | + | *Drag and drop another index node in the diagram |
− | + | *Type <code>Year</code> for the index title | |
− | + | :[[Image:Diagram Car cost1.1.jpg]] | |
− | + | *Open the attribute pane and select ‘Description’ from the [[attribute dropdown menu]]. | |
− | [[ | ||
− | + | :[[Image:Car cost Description.jpg]] | |
− | < | + | *Type <code>Year of ownership</code> |
− | + | *Press ''Alt+Enter''. | |
+ | *Select ‘Definition’ from the popup menu. | ||
− | + | :[[Image:Car cost Definition.jpg]] | |
− | + | *Select ‘List’ from the [[expr]] popup menu. | |
− | [[ | + | *First cell is entered as 1, press ''Enter'' key twice to have 3 cells with appropriate nos. |
− | + | :[[Image:List Year.jpg]] | |
− | < | + | *Select <code>Maintenance cost</code>. |
− | |||
− | + | :[[Image:Diagram Car cost1.2.jpg]] | |
− | + | *Click on the ‘Edit table’ button that shows on the attribute pane. | |
− | + | *Click on the ‘indexes’ icon to bring up Indexes window | |
− | + | :[[Image:Edit table Maintenance cost.jpg]] | |
− | < | + | *Click <code>Year</code> from the index lists and click the <code>>></code> icon to add the index. |
− | + | *Press '''OK''' button. | |
− | + | '''Expected: Edit table of <code>Maintenance cost</code> is now indexed by <code>Year</code> for the columns and <code>Car type</code> for rows ''' | |
− | < | + | :[[Image:Indexes Year.jpg]] |
− | [[Image:Edit table Maintenance cost1.1.jpg]] | + | |
+ | *Click on column 2 row header small car | ||
+ | *Change cell value from '1200' to ‘1500’ | ||
+ | *Press arrow down key, change this cell value from '2400' to ‘2.6K’ { to check the number formatting is recognized}. | ||
+ | *Click on column 3 row header small ca | ||
+ | *Change the cell value from '1200' to '1.7e+3' {Same number format issue} | ||
+ | *Press arrow down key | ||
+ | *Change the cell value from '2400' to '300000%' | ||
+ | *Click the check button. | ||
+ | *''Ctrl+r'' to bring up result table of <code>Maintenance cost</code> | ||
+ | |||
+ | '''Expected: Result of <code>Maintenance cost</code> show the new changes on its cell values''' | ||
+ | :[[Image:Edit table Maintenance cost1.1.jpg]] | ||
+ | |||
+ | |||
+ | ==See Also== | ||
+ | * [[Creating Arrays (Tables)]] |
Latest revision as of 05:02, 24 November 2023
- Drag and drop another index node in the diagram
- Type
Year
for the index title
- Open the attribute pane and select ‘Description’ from the attribute dropdown menu.
- Type
Year of ownership
- Press Alt+Enter.
- Select ‘Definition’ from the popup menu.
- Select ‘List’ from the expr popup menu.
- First cell is entered as 1, press Enter key twice to have 3 cells with appropriate nos.
- Select
Maintenance cost
.
- Click on the ‘Edit table’ button that shows on the attribute pane.
- Click on the ‘indexes’ icon to bring up Indexes window
- Click
Year
from the index lists and click the>>
icon to add the index. - Press OK button.
Expected: Edit table of Maintenance cost
is now indexed by Year
for the columns and Car type
for rows
- Click on column 2 row header small car
- Change cell value from '1200' to ‘1500’
- Press arrow down key, change this cell value from '2400' to ‘2.6K’ { to check the number formatting is recognized}.
- Click on column 3 row header small ca
- Change the cell value from '1200' to '1.7e+3' {Same number format issue}
- Press arrow down key
- Change the cell value from '2400' to '300000%'
- Click the check button.
- Ctrl+r to bring up result table of
Maintenance cost
Expected: Result of Maintenance cost
show the new changes on its cell values
See Also
Comments
Enable comment auto-refresher