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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 ?

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.