paulo.casa Posted August 17, 2020 Share Posted August 17, 2020 Hi If I have a subsummary (A) and this subsummary have another level of subsummary (B), how can I count on subsummary A the number of occurences of the subsummary B? Quote Link to comment Share on other sites More sharing options...
0 Steve Martino Posted August 18, 2020 Share Posted August 18, 2020 How about you show us some screenshots and a better description about what 'A' & 'B' are suppose to represent? Quote Link to comment Share on other sites More sharing options...
0 paulo.casa Posted August 21, 2020 Author Share Posted August 21, 2020 On 8/18/2020 at 6:33 PM, Steve Martino said: How about you show us some screenshots and a better description about what 'A' & 'B' are suppose to represent? Hi The goal is to count, on the green subsummary, the number of yellow occurences , no mather what is inside the yellow. Thanks for the support. Paulo Quote Link to comment Share on other sites More sharing options...
0 AHunter3 Posted August 21, 2020 Share Posted August 21, 2020 The distinction between one yellow bar and the next appears to be the date, yes? So for any green bar (Year, I assume) if you have a head-count of all the dates for which actual records (white bars) exist, that's your number. One approach is to make a calcfield abstracting out the year (hence it returns "2020" for any date in the year 2020), selfjoin it across your table to make a 2nd table occurrence, call it ByYear or some such thing; then you can define a value list of related values of ByYear::Date, which gives you non-repeating list; then you can use ValueCount (ValueListItems (Get(FileName); "YourValueList")) and that's the number for your green bar. Quote Link to comment Share on other sites More sharing options...
Question
paulo.casa
Hi
If I have a subsummary (A) and this subsummary have another level of subsummary (B), how can I count on subsummary A the number of occurences of the subsummary B?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.