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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Summarize function beginner problem

Hello Guys!

 

I know these are dumb question but I'm totally new here. Please bear with me, I'm sorry.

Ok so I have these products below and I want to create this table.

Table: Product

Product NameTotalCalculatorChargerCable
Calculator6352
Charger12242
Cable7133

 

I have this query:

 

Product = SUMMARIZE('Product','Product'[Product Name], "Total", SUM ('Product'[Calculator]))
 
And the result is:
 
Product NameTotal
 6
Calculator3
Charger2
Cable1

 

I just want to put the TOTAL amount in to the second row in Total column. Also I want to filter these products by MonthYear and Branch. Do you guys have idea on how to do it? I could totally use some tutorials.

 

Again, Im really sorry for these dumb question and Thank you very much for your help.

1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello @Anonymous 

 

this DAX-code will not provide any totals. To add the total put around the second parameter a ROLLUP-function. But anyway, in a database the position is not important, so there is no way to decide where the rollup is showing up, it's always put at the end. You could use power query to solve this.

About your second question, yes you can filter them by time dimension, but you have to have a column in your fact-table that showing a time reference.

 


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

2 REPLIES 2
Jimmy801
Community Champion
Community Champion

Hello @Anonymous 

 

this DAX-code will not provide any totals. To add the total put around the second parameter a ROLLUP-function. But anyway, in a database the position is not important, so there is no way to decide where the rollup is showing up, it's always put at the end. You could use power query to solve this.

About your second question, yes you can filter them by time dimension, but you have to have a column in your fact-table that showing a time reference.

 


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Anonymous
Not applicable

Thank you so much @Jimmy801 ! 🙂

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.