report themes in power bi is one of the more useful tools available to you as a developer
and in this video we'll take some time to go over some of the features and how you
can use it to make your development life with power bi much much easier
if you wanted to change the general color this is just what's here by default we'll go to view
and under here we see themes you can click any of these and right away we can see that it's changing
the colors and if we were to go to our data colors we can see it changes here as well so that's all
fine and good i mean that's pretty straightforward like many microsoft tools but one thing that you
can do that we'll start with here is actually to customize the current theme if we go here to view
and down to customize current theme we have this one selected here we can see every specific thing
about this theme so we see here's the name of the theme different levels i mean you can customize
everything down to very specific things let's say for example we want the font family instead to be
i don't know um we'll do ariel black and we'll crank this up to 14 and change the font color
just to make it obvious apply this now right away we see some of these changes these are the values
and titles this isn't a font color so let's say we were to add a text box right by default
it's using that color we've made this change that's great right what do we do with this
if we were to exit out and not save anything we lose those changes and what we can do is we can
say save current theme and when we save this it opens up the window and it's trying to save it
as a json file behind the scenes what's happening is power bi saves all these themes as a json
file let's just save it as theme.json keep it simple and go ahead and save that i'm actually
going to open this file so we can look at it and here is the actual file that this
theme is reading and here we have the different data colors if we were to look at something we
have here let's look at data colors here we see the theme colors four nine nine one nine five
i bet we see that in here and it's right here so we can start to see these defaults zero zero a
and that's what's happening here it's giving us these values and and breaking it down for
us here we have that change to the text classes labels are arial black and this is it now that we
have this locally what we can do is actually change this however we want change this to
54. you know something really big so we should see the size of the labels really change and
labels in this case are going to be the labels of all these things here
right now we don't see that change it's not instantaneous but what we'll do is select
browse for themes we see this one here and if we just open it again we can see now this is
really big because it's inheriting the changes that we made and using it you can very quickly
change the theme by just selecting some of these other ones that are here we select that other one
it takes us right back to the font sizes and kind of basic look that json feature now is how we can
really customize this and you can see how this could become really useful if you want to edit
your theme to always have certain brand colors or certain fonts anytime you add a new visual it'll
automatically use those brand colors so you don't have to go in and customize every single thing to
make sure it matches right away it's going to match because that's what the theme is set to
before this we edited a custom theme it saved it for us and then we altered it
let's try now to put a basic custom theme from scratch and and see how we can import it
here i am on the report themes and power bi document page and what i'm going to do
is just copy this example here to show you how you can import your own report theme as a json
file for this one the theme is st patrick's day it changes just a couple different items here
name data colors stuff like that and in our case because it's changing data colors this
will impact our chart what i'm going to do is copy this and now let's paste this in here as a new
file and what i'll do it's in my power bi folder so this is where it's going to look and we'll
call this saint paddy's theme dot json we need to make sure we save it as a json and it will read it
this way again imagine instead of st patrick's day colors you put your company branding colors
and maybe certain fonts whatever you need we're back in power bi drop down browse for themes
st patty's theme open and boom there we go st patrick's day themes colors only what about six
seven months away from the time of this recording one other thing to point out you'll notice the
font looks like the default when it comes to these changes anything that you don't
explicitly change is going to take the default value in this case we didn't change the
label font size like we did in the other one so it just inherits the default and i mentioned before
there's a ton of documentation on these settings and if we open this link this is a little further
down on the page it's going to give you every different type of thing that you could change
you can get really specific on how you want to edit your report theme again to match
exactly what you want it to be for you for your teammates to give the presentation that you want
the last thing i want to show is the custom report theme files that you can use right away
these are ones that are publicly available that other people have uploaded that are pretty cool
and you can add them to your own power bi projects if you want let's go to this themes gallery here
i actually already have it open in this link and when you come in here you can see there's a
bunch of these already here there maybe something sticks out to you let's just grab this guy here
click view report and it'll give you an example it's pretty cool these people have taken the
time to add all of these very specific custom settings what we can do is go down and download
and i will open it and here you can see just how specific so these people really really dug into
the documentation and added all these specific settings now let's save power bi we'll just keep
this name it's dot json save and we'll go through the same process here go down to browse for themes
and there it is right away changed it to exactly what that was in this case it's maybe not the
best because it kind of grays everything out but hopefully you get the idea and you should be able
to actually get to that same themes gallery from right here and it'll take you right to that if you
wanted to shortcut your way to that if you wanted to make your own and upload it for others to use
you could do the same thing here submit a report theme maybe you're somebody who's really creative
and you can provide that for other people to use hope you found this helpful if you have
any questions please leave a comment and i'll see you at the next video thanks for watching