Logic Definition
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
I am confused of how to use the logic with the help of which tool.
Please consider the below sample data.
Condition:
If all the roll numbers are failed then in expected result i want a single subject name and in roll column ALL should come instead of mentioning every roll number.
Solved! Go to Solution.
- Labels:
- Datasets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @vijaylnyadav ,
main issue seems to be the split between records for "all failed" subjects and the remaining records. I used two Summarize tools to count the number of fails and the total number for each subject and a Join tool (left output anchor) to select only the subjects with different numbers. For subjects with #fails = #total, I added an additional row with "ALL" as roll number.
Let me know if it works for you.
Best,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @RolandSchubert thanks for your comment.
This solution works for my workflow
However, if you have any other solution then please help me out
Thankyou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @vijaylnyadav , give this a try if this is what you are looking for?
If this works for you kindly mark this post as solution.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In your workflow you have manually used the count whereas we it should take count from input file because the count can vary in the input file.
This was the only doubt other wise it was a good solution.
Solution provided by @RolandSchubert has worked for me and i am using that solution in my workflow.
Thanks for your time and help @grazitti_sapna
