Eric,
Thank you for your response. I have created a table with two fields in the upload file (below is a snippet - the actual table will have about 22 rows):
| Unit of Measure |
Quantity |
| PCs |
"={End User Devices Master Data}:{Device Count}[{Device Count}=1]" |
| FTE-Hrs |
"={Business Unit Allocation Master Data}:{Employee Headcount}[{Employee Headcount}>0]" |
| Lab Machines |
"={End User Devices Master Data}:{Device Count}[{Lab Machine}=1]" |
| Network Devices |
"={Network Devices Master Data}:{Device Count}[{Device Count}=1]" |
Then I added a formula section in the transform where (using the Select column to edit) the Quantity field changes to:
=eval((mid(Quantity,2,len(Quantity)-2))) => to evaluate the data lookup
The final table looks something like this:
| Unit of Measure |
Quantity |
| PCs |
2000 |
| FTE-Hrs |
10000 |
| Lab Machines |
3000 |
| Network Devices |
2500 |
This table will used with the Tablematch function. Another table in our project will use the Tablematch function to grab the appropriate Quantity depending on the unit of measure.
Do you think this process will be computationally expensive?
Thank you so much for your help!
Jeanne
Original Message:
Sent: 03-09-2021 17:02
From: Eric Self
Subject: Eval Function Question
Jeanne, it is possible to use Eval in Tables, however it can be computationally expensive depending on how it is being used.
What does your formula look like?