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
Sofinobi
Helper IV
Helper IV

Calculate Total Sales with a filter of a groupe of Sellers

Hi all,

please if you can help me, to filter a liste of Seller

i have a measure of TotalSales
Sales_Table
Sellers_Table, (with all the sellers names and id)
Sellers_Table_Convention ( with only a part of sellers (16) that are in the convention)
now, i need to calculate the TotalSales of those 16 sellers that are in the Sellers_Table_Convention
something like : TotalSales_Convention =
                           Calculate ( TotalSales,
                          Filter( Sellers_Table, Seller_Table[Seller]
                          in Sellers_Table_Convention[Seller])

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Sofinobi 

 

You can try the following methods.

Measure = CALCULATE(SUM(Sales[Sales]),FILTER(ALL(Sales),[Seller] in VALUES(Seller_Convention[Seller_Convention])))

vzhangti_0-1687312573902.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @Sofinobi 

 

You can try the following methods.

Measure = CALCULATE(SUM(Sales[Sales]),FILTER(ALL(Sales),[Seller] in VALUES(Seller_Convention[Seller_Convention])))

vzhangti_0-1687312573902.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

thats perfect, exactely what i'm looking for, thank you so much my friend 

thanx again 
have a nice day

Sofinobi
Helper IV
Helper IV

here is a data sample pbix
the wanted is, the sales of only the seller they are present on "Seller_Convention"
Total Sales 

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.