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! Learn more

Reply
Joshua_
Helper II
Helper II

Function?

  • hy Guys,

    I need to view sales by location when filtering by Office table.

I have been trying a cross filter measure but it is not working
for example, when filter by Name 1 (tbl_office), the result should be 3250.

Thank you

1 ACCEPTED SOLUTION
Joshua_
Helper II
Helper II

thank @AlexisOlson , I solved it by creating a variable with the Location and using the filter function.

View solution in original post

3 REPLIES 3
Joshua_
Helper II
Helper II

thank @AlexisOlson , I solved it by creating a variable with the Location and using the filter function.

Joshua_
Helper II
Helper II

Hi @AlexisOlson 
I'm trying whit this, but not sure if that's the way to fix it.


CALCULATE(
SUM(SALESL]),
CROSSFILTER(DATALOCATION[ID_COMUNA],TBL_LOCATION[ID_COMUNA],Both)
)


AlexisOlson
Super User
Super User

What does your attempted measure look like?

Helpful resources

Announcements
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!

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.

Top Solution Authors