Hello, everyone,
Could you please give me your hand to solve problems.
1. The situation
I am trying to make a script to automate drawing graphs every day.
This is a situation that I need to create data for each equipment station daily used.
Meanwhile, as the number of stations is large (ex. there's 40 stations), I cannot plot all of station in one graph. So I select three stations on one graph with local data filter.
However, as the used equipment station changes every day,
I cannot use code like below,
Local Data Filter(
Width( 178 ),
Add Filter(
columns( :Station ),
Where( :Station == {"Tx #5", "Tx #6", "Tx #7"} ),
Display( :Station, Size( 172, 493 ), Height( 493))
)
),
2. Designed Solution
So I came up with the following method.
1. select the Station column.
2. Make the column as a list
3. Remove duplicate values from the list. (->To get a list of used stations)
4. Use the local data filter to select 3 stations from the list obtained in step 3.
3. Problem
1. Station column is selected and I made it into a list, but duplicates are not removed.
2. I have no idea how to apply the local data filter for each 3 stations in the list.
Thank you.
-Sejin Park.