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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Sum of top 3 with multiple table

Hi All,

 

I have one fact(sales) and 2 dimension tables(country & format). Both dimension tables are connected to fact with one to many relatioship,  i have coulmn "weight" in sales table, country name in Country table & Format column in Format table.

 

Now i want to do the sum of weight, by country and format. i know i can do this in basic filter option and get the sum but i realy wanted to know the DAX for this. it is basically grouping by country column and format column from both dimension tables and get the sum of weight from sales table aginst those grouped rows. 

 

Thanks in advance

 

Regards,

Vinay

4 REPLIES 4
Anonymous
Not applicable

[Sum Of Weight] = SUM ( Sales[Weight] )
Anonymous
Not applicable


@Anonymous wrote:
[Sum Of Weight] = SUM ( Sales[Weight] )

 

No,  i  have many rows , i want to get the sum of weight only for top3 by country by and by format .

 

Regards,

Vinay

 

Anonymous
Not applicable

First of all, in your initial post there is no mention of TOP3 at all.

Second of all, it's completely unclear what it means "I want to get the sum of weight only for top 3 by country and by format."

If you give such hard to understand conditions, then please do not be surprised you don't get any answers.

I'd strongly suggest you read this first if you have not yet:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

It'll help you in the long run (short as well).

Best
Darek
Anonymous
Not applicable

Sure ! Will keep in in mind
and apologies for the half information

 

Regards,

vinay

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.