cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Niels_T
Helper V
Helper V

How to get total of months under each year + total of year + total of all years combined in a table?

Hello,

 

I was wondering how you get the months under each year with the total of each month +  the total of the year + the total of all years combined, like in the following in a table:

Niels_T_0-1615807526108.png

 

Best regards,

 

Niels

 

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Niels_T ,


This is achievable in PowerBI Desktop. Whether it is possible to provide test data(Delete sensitive information), I will answer for you by creating a table or matrix.


Looking forward to your reply.


Best Regards,
Henry



amitchandak
Super User
Super User

@Niels_T , Not very clear. With a date table having month, year.

 

And use Matrix visual with subtotal enabled for column. and Year and month on column

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

 

Matrix

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.