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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Choose a specific item from the column and sum the value from another column

PriceType
500$Laptop
500$Airpods
600$Mobile
450$Laptop
900$Laptop
200$Laptop

 i need from Type (Laptop) and sum price for just Laptop.

Best Regards.

 

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Anonymous 

please try

CALCULATE(SUM(PRICE),FILTER(TABLE,TYPE="Laptop“))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

az38
Community Champion
Community Champion

Hi @Anonymous 

 

Measure = CALCULATE(SUM(Table[Price]), Table[Type]="Laptop")

if you need this sum witout respect any filters try also

 

Measure = CALCULATE(SUM(Table[Price]), Table[Type]="Laptop", ALL(Table))​

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @Anonymous 

 

Measure = CALCULATE(SUM(Table[Price]), Table[Type]="Laptop")

if you need this sum witout respect any filters try also

 

Measure = CALCULATE(SUM(Table[Price]), Table[Type]="Laptop", ALL(Table))​

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
amitchandak
Super User
Super User

@Anonymous , if you take type on slicer or take it a summarized column/axis/row  on a visual 

 

and use sum(table[Price]) that should do ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
ryan_mayu
Super User
Super User

@Anonymous 

please try

CALCULATE(SUM(PRICE),FILTER(TABLE,TYPE="Laptop“))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors