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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.