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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Joshua_
Helper I
Helper I

Get sales with another field (not key) of table.

hi,
I need to get the sale of the area, using Id Department.

2019-12-05_165058.png
For Example, If filter by Area Metro, result should be $ 10,000.
2019-12-05_165021.png
Thank a lot.

 

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Joshua_ 

try measure

= calculate(SUM('Sales Table'[Sales]); Filter(ALL('Sales Table');'Sales Table'[ID]=SELECTEDVALUE([ID_Area]))

 

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


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

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Joshua_ 

try measure

= calculate(SUM('Sales Table'[Sales]); Filter(ALL('Sales Table');'Sales Table'[ID]=SELECTEDVALUE([ID_Area]))

 

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


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

Thank @az38 , its working.

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Users online (2,110)