04-25-2023 07:27 AM
with this Expression i get all Channels_name and all Channels_Status like this
now i want all Channel names but only with Properties Failed.
That was the first Question.
Second Question:
I want a Table with all Groups.Properties.Name and All Groups.Properties.Status.
this Expression @@Data.GetChannel(D2TabRow).Properties("name").Value@@ work only for Channels.
something like this would not work for Groups: @@Data.GetGroups(D2TabRow).Properties("name").Value@@.
Does Anyone has Tableexpressions or has some Solution 🙄. Thanx
Solved! Go to Solution.
04-27-2023 01:21 AM
Hello.
for the second part it's easy: in your expression change "GetGroups" in "Root.ChannelGroups":
@@Data.root.channelGroups(D2TabRow).Properties("Name").Value@@
For the first, a possible way could be via "intermediate storage":
For example, I do it with name only, and have only one group at all:
call globalDim ("gr(3)")
gr(1) = Data.Root.ChannelGroups(1).Properties("name").Value
Inside the table in the report, I use @@gr(d2TabRow)@@ as expression.
That's it.
Probably not the best way, but the working one.
Greetings,
Vassili
05-02-2023 02:24 AM
OMG that works thank you.
But i have one more question:
in the end, I want to automatically display a table with lines of code as I explained before and it works with this @@Data.root.channelGroups(D2TabRow).Properties("Name").Value@@
for the groups 😊 .
The problem now is that when I do the Automatically increasing, I have to enter the number of rows manually or it will display only one line. Is there a way to enter it automatically?
In my exemple i gived the number 4 in the Number of Rows but i want it automatically with the max_lenght
05-02-2023 02:42 AM
call globalDim ("number")
number = Data.Root.ChannelGroups.Count
Give the @@number@@ in number of rows 😊