Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
aandrade21
Regular Visitor

Monthly sales by category (actual or forecasted)

I am a newbie so please pardon my lack of understanding here!

I want to create a report that has opportunity categories broken down by month. Under each month's column would be a calculation of the value of all opportunities that have a forcasted close date during that month. 

Looking something like this:

                          This Month (ex March)          Next Month (April)         Following Month (May)

Category 1         $$$                                        $$$                                  $$$
Category 2         $$$                                        $$$                                  $$$
Category 3         $$$                                        $$$                                   $$$

Being that I'm new, the most simple terms possible are appreciated! 

Thanks! 

2 ACCEPTED SOLUTIONS
asocorro
Skilled Sharer
Skilled Sharer

You may achieve this with the matrix visualization.  Set the rows to your categories, the columns to the months, and the values to your calculations.  For example:

matrix setup.png

 

For the calculation, you may choose one of the built-in ones, and if none fit your needs, you will need to define a DAX measure:

 

matrix function.png

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

View solution in original post

@asocorro is right on with the post. My only other suggestion is to include a calendar table in your data model.  So you'll have two tables - one with all your sales opportunities and one with all your dates.

 

Here's a good link for creating a calendar table LINK The calendar table is used to do rollups on your dates - for example you have a bunch of dates on your opportunity table but you want to roll everything up by the month.

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

View solution in original post

2 REPLIES 2
asocorro
Skilled Sharer
Skilled Sharer

You may achieve this with the matrix visualization.  Set the rows to your categories, the columns to the months, and the values to your calculations.  For example:

matrix setup.png

 

For the calculation, you may choose one of the built-in ones, and if none fit your needs, you will need to define a DAX measure:

 

matrix function.png

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

@asocorro is right on with the post. My only other suggestion is to include a calendar table in your data model.  So you'll have two tables - one with all your sales opportunities and one with all your dates.

 

Here's a good link for creating a calendar table LINK The calendar table is used to do rollups on your dates - for example you have a bunch of dates on your opportunity table but you want to roll everything up by the month.

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.