Handling tree structures — recursive SPs, nested sets, recursive CTEs
Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and...
-
Upload
justina-powers -
Category
Documents
-
view
212 -
download
0
Transcript of Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and...
![Page 1: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/1.jpg)
Copyright 2007, Information Builders. Slide 1
Choose Your Own Adventure!Dynamic Grouping and Recursive Drill-downs
Travis HettenbachKoch Mineral Services, LLC
June 4, 2008
![Page 2: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/2.jpg)
Copyright 2007, Information Builders. Slide 2
Anyone used to read the CYOA Books?
http://en.wikipedia.org/wiki/Choose_Your_Own_Adventure“After an introduction to the story, the reader is asked to
determine the protagonist's next course of action. For instance, the first decision offered in The Cave of Time is: If you decide to start back home, turn to page 4. If you decide to wait, turn to page 5.
After the reader makes a choice, the plot branches out and unfolds, leading to more decisions and eventually multiple possible endings.”
So, now it’s time for you to choose! Would you like to hear the rest of this presentation? If you decide to hear the presentation, clap to continue. If you decide you don’t want to hear the presentation, boo
now.
![Page 3: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/3.jpg)
Copyright 2007, Information Builders. Slide 3
Choose Your Own Adventure?
Users desire a way to group their reports on-the-fly.Give them various ways to group the same dataPowerful analyticsMake it easy to use
![Page 4: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/4.jpg)
Copyright 2007, Information Builders. Slide 4
Demo car_group_1.fex, car_group_2.fex, car_group_3.fex
Benefits Simple to code & easy to understand Straightforward usability
Disadvantages Strict & hard-coded drill-path Multiple fexes to maintain Lack of flexibility may lead to frequent code-changes
How would a basic grouping example look?
![Page 5: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/5.jpg)
Copyright 2007, Information Builders. Slide 5
So how can we alleviate the disadvantages?
Problem: Strict & hard-coded drill-path Solution: Dynamic drill-path (of course)
Problem: Multiple fexes to maintain Solution: A single fex (obviously)
BUT HOW?!
![Page 6: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/6.jpg)
Copyright 2007, Information Builders. Slide 6
Dynamic BYs, WHEREs
Make a dynamic drill path using amper variables
![Page 7: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/7.jpg)
Copyright 2007, Information Builders. Slide 7
Recursive drill-downs
Maintain only one fex by using recursive drill-downs and give the user their drill “options” using DRILLMENUITEM
![Page 8: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/8.jpg)
Copyright 2007, Information Builders. Slide 8
Demo
recursiv.fex
![Page 9: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/9.jpg)
Copyright 2007, Information Builders. Slide 9
Pros/Cons
Advantages Single fex to maintain Very dynamic drill-path Powerful Analytics Intuitive to use
Disadvantages Limits on multi-drill Complex coding Difficult to maintain Potentially more coding
![Page 10: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/10.jpg)
Copyright 2007, Information Builders. Slide 10
Some other enhancements…
Give the user a way to select their grouping levels DropDown Listbox Demo Dual Listbox Demo Real-world Demo
![Page 11: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/11.jpg)
Copyright 2007, Information Builders. Slide 11
Questions?
Feel free to email me. Example files available upon request (or see attachments at the end of this presentation).
Travis Hettenbach Koch Mineral Services, LLC Development Manager [email protected] Focal Point – Trav
![Page 12: Copyright 2007, Information Builders. Slide 1 Choose Your Own Adventure! Dynamic Grouping and Recursive Drill-downs Travis Hettenbach Koch Mineral Services,](https://reader036.fdocuments.us/reader036/viewer/2022083009/5697bfda1a28abf838cafffb/html5/thumbnails/12.jpg)
Copyright 2007, Information Builders. Slide 12
Attachments
summit_2008.zip