cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Niels_T
Post Patron
Post Patron

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



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors