►
Description
Open this report. Now open that one. Now fill in all the same info again. Now use some of the info from the last report and use it in this one. (Silent screams go through my head.) Oh, wait! I can tell this report to run another report!!!! And it can fill in all the parameters for me! (Glorious cheering now takes the place of the screams in my head.) Great! Gives me time for some coffee. Oh, wait. The coffee maker is broken. (Resume screaming.)
Contents:
0:00 - Title
0:32 - Intro
1:49 - The Previous Videos
5:44 - The Example
9:14 - How it Works
12:55 - The Notes
13:57 - Wrap Up
Referenced code:
https://hopperdietzel.org/koha_notes/sqldrilldown
Music: https://www.bensound.com
A
Hello
again,
this
is
the
every
other
thursday
training
videos,
I'm
christopher
brannon,
with
the
coeur
d'alene
public
library
and
the
cooperative
information
network.
B
B
You
can
just
click
on
learn
and
it's
we've
got
some
new
organization
here
now
we've
made
the
page
a
little
smaller.
B
But
if
you
go
to
video
playlists,
the
most
recent
video
will
be
right
on
top,
but
you
can
see
all
the
videos
from
all
the
past
videos
laying
laid
out
right
there
under
season
one
and
season
two
and
this
actually
I've
tracked
down
which
videos
we're
going
to
expand
on
so
season.
One
episode,
five.
B
B
A
A
That
really
handy,
I
actually
implemented
the
the
dashboard
over
here
and
and
thought
you
know,
there's
probably
not
enough
people
that
realize
that
you
can
start
a
report
from
based
off
of
a
report
that
you're
in
and
I
think
that's
a
really
handy
picture.
B
Yeah
the
thing
that
I
like
about
it
is
you
know
particularly
for
that
dashboard
report.
Is
you
know
the
whole
idea
was.
I
wanted
a
way
to
just
scan
a
barcode
and
have
information,
make
it
really
easy
to
find
out
information
about
that
item
and
because,
before
I
used
to
have
a
lot
of
the
questions
that
I
use,
that
dashboard
report
to
answer
questions
about
is:
is
it
in
transit?
You
know
how
many
times
is
it
checked
out?
B
What's
the
history,
what
do
the
log
files
say
about
this
item,
and
so
you
have
to
run
like
five
different
things,
usually
to
figure
out
what
you
need
and
I
wanted
to
be
able
to
just
scan
the
barcode
and
then
click
click,
click,
click
and
not
have
to
run
other
reports,
and-
and
that's
you
know
how
the
what
I'm
going
to
show
you
today
is
how
to
use
one
report.
B
That's
just
a
simple
item
count
by
item
type
to
run
a
report
that
goes
into
more
detail
about
what
things
are
using,
that
item
type
right
and
normally
the
quahog
community
wiki,
is
in
wiki.coha
community.org,
and
I
put
I
put
some
of
the
sequel.
I
write
some
of
the
reports
I
write
are
on
the
reports
library
there
at
the
wiki,
the
two
reports
I'm
going
to
look
at
today.
B
I
don't
think
I
have
either
of
them
there
because
they
use
some
non-standard
authorized
values
and
that's
another
thing:
we've
talked
about
before
non-standard
authorized
values
was
report
or
a
video
number.
B
Oh,
that
one
I'm
not
going
to
be.
I
know
I
wrote
it
down
here
somewhere
in
my
notes.
B
No,
there
was
a
different
one.
It
was
season,
one
episode,
24,
okay,
it
was
the
last
episode
of
the
first
season
right
before
we
took
that
little
break
over
the
holidays.
Okay-
and
I
specifically
talked
in
that
one
about
how
to
use
how
I
create
different
authorized
values
for
doing
different
stuff
and
I've.
Never
we've
never
talked
about
my
shelf
list
report
and
we
talked
about
it
really
really
briefly,
because
it's
full
there
isn't
a
single
there.
B
Isn't
one
single
standard
authorized
value
link
in
that
it's
and
it's
got
like
you
know
it
uses
like
eight
authorized
values.
None
of
them
are
normal
ones.
So,
but
let
me
just
show
you
what
this
does
so.
First,
I'm
going
to
run
the
report.
B
B
B
So
they
have
one
audiobook
new
is
the
item
type.
They
have
one
of
those
they
have
3002
books,
they
have
87
new
books,
they
have
13
kits
and
so
on.
B
So
one
of
the
reasons
I
wrote
this
is
we
had
one
library
that
was
asking
the
question.
You
know
I
have
something
that's
showing
up
as
a
as
a
piece
of
artwork.
I
don't
have
any
artwork.
So
what
is
that?
Well,
what
I
wanted
to
do
is
I
wanted
to
make
it
so
you
could
say
you
know:
I've
got
one
book.
B
That's
listed,
I've
got
one
thing,
that's
listed
as
audiobook
new
and
then
this
button
over
here
runs
my
shelf
list
report
and
it
runs
it
from
a
cloud
and
it
says
show
me
all
the
things
that
have
an
item
type
that
says
audio
book,
new
okay,
and
so
I'm
using
this
button
here
to
run
this
report
over
here.
Now,
like
I
said
this
report
over
here,
has
a
mountain
of
variables
when
you
run
it.
B
So
if,
if
I
wanted
to
run
that
report
for
mcleod
audiobooks,
I
would
have
to
open
that
report.
Click
on
mclout
find
audiobook
new,
but
then
I
can
also
say
you
know
just
show
me
the
ones
that
are
adults.
B
B
Last
seen
between
these
two
dates
with
x
or
fewer
checkouts
show
me
the
checked
out
items
yes
or
no
show
me:
loss
missing
and
withdrawn
items,
yes
or
no,
with
x,
remarked
copies
of
this
library
with
x
or
more
copies
in
the
catalog.
So
it's
it's
got
a
lot
of
variables
in
there,
but
if
I
run
this
report
up
here
at
the
top
once
it
runs,
I've
got
a
url
here,
and
so
let
me
share
a
different
screen.
B
And
every
place
in
here
you
notice
this
and
parameter
name,
I'm
just
gonna
replace
all
of
those,
so
each
one
of
these
is
one
of
those
parameters
in
that
url.
B
So
here
we've
got
the
library
here,
we've
got
the
permanent
shelving
location,
which
this
percent
symbol
25,
that's
the
ascii
code
for
in
ampersand,
and
I've
got
this
parameter.
Here
is
the
item
types
which
is
the
item
type
code
for
that
item
type,
and
so
each
one
of
these
is
a
different
parameter.
B
Okay,
and
so
that's
what
the
that's,
what
this
report
is.
This
first
report
is
doing.
B
Is
you
know,
we've
got
select
branch
name,
different,
the
different
counts
and
then
we're
concatenating
that
all
of
the
data
here
into
a
url
which
we've
shown
people
how
to
do
before
this
one,
I'm
giving
it
a
class
for
a
button.
A
B
And
I've
got
the
this
is
the
part
that
runs
the
report.
It's
saying
when
I
click
on
that
button.
It's
gonna
run
guided
report.
Report
number
2731
run
this
report,
and
here
it's
got
the
parameter
name
for
the
item
home
library,
but
it's
not
putting
in
that.
That
parameter
isn't
hard
coded.
What
it's
doing
is
it's
saying
give
me
the
branch
code
that
matches
the
branch
code
for
that
line
in
the
report
right
and
then
down
here,
where
I've
got
the
parameter
for
the
item
type.
It's
saying
show
me.
B
The
item
give
me
the
parameter
for
that
line
in
the
report.
What's
the
item
type
that
that
line
is
reporting
on
and
it's
going
to
plug
the
item
type
code
in
there,
it's
very
dynamic
yeah,
and
this
way
you
know
that
when
I
I
don't
want
to
update
it,
I
just
want
to
run
it.
B
So
it's
concatenating
all
those
different
parts
of
the
url
into
one
string
and
it's
filling
in
it's
filling
in
the
branch
code
based
on
what's
over
here
and
the
item
type
based
on
what's
over
here.
So
when
I
click
that
I
don't
have
to
go
to
report
number
2731
and
choose
all
of
those
different
parameters,
it's
just
filling
them
in,
as
if
I
had
already
done
all
that,
okay
and
so
that's
pretty
much
it
it's
it's
pretty
easy
to
do.
B
B
I've
got
the
the
sequel
for
that
report
for
the
first
report
here
and
the
part
that
you're
going
to
have
to
fill
in
is
you're
going
to
have
to
create
the
report
that
runs
based
on
that
report
and
I've
got
the
the
sequel
for
that
too.
B
The
one
thing
I
would
say
about
the
sequel
for
the
shelf
list
is
that
you're
going
to
have
to
tinker
with
it
to
make
the
the
item
types
work
and
the
collection
codes
work,
because
they
are
using
authorized
values
that
aren't
standard,
but
but
once
you
have
a
report
that
runs
you
can
take
the
you
can
take
the
url
from
that
report
and
and
build
that
link,
because
that
link
works.
Every
time
you
go
to
that
link,
the
the
link
is
going
to
make
it's
going
to
run
the
report
the
same
way.
B
Yeah
I've
got,
and
you
know
like
the
item
dashboard
report.
It
runs
like
six
different
reports,
something
like
that:
some
not
as
complicated
as
this
one.
So.
A
Yeah,
well,
that's
that's
great.
You
know!
Yeah,
I
mean
if
you
have
a
report
that
has
all
the
pieces
that
you
need
for
another
report
or
if
you
can
modify
that
report,
to
include
that
those
pieces
of
information
so
that
you
can
kind
of
drill
down
so
like
if
you
get
you
have
a
report
that
gives
you
some
generic
information,
and
you
want
to
see
more
details
about
that.
One
specific.
B
A
Piece
that
that
is
a
very
handy
tool
to
to
have
on
hand
just
as
long
as
you
keep
track
of
your
reports
and
and
make
sure
that
those
reports
still
exist
when
you,
when
you
point
to
them.
B
B
A
Well,
george,
thank
you
very
much
for
sharing
that,
and
I
hope
that
folks
will
find
that
helpful
and
handy
just
a
reminder
to
everybody.
We
we
enjoy
getting
feedback
on
our
videos
and
if
you
have
a
particular
topic
that
you
would
like
us
to
cover,
feel
free
to
comment
on
our
youtube
channel
our
website.
A
The
kohai
us
website
lists
all
of
our
our
videos,
but
if
you
go
to
the
youtube
channel
and
search
for
cohort
dash,
us
you'll
find
our
all
of
our
playlists,
including
this
one
and
you
can
subscribe
and
like
our
videos,
we
like
to
see
those
likes
to
find
out
what
piques
your
interest
and
what
you
find
helpful.