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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Filtering two unrelated fact tables (summing up categories/values between unrelated tables)

Hello Community  -  I'm not clear how to go about this.   Our company recently received back some survey responses for NPS scoring.  

 

My data model is below.    Ideally, I'd really to like to be able to slice and dice my Retently survey customers against my sales and shipments tables.    Is there some specific DAX that can accomplish this?    Given I don't have a direct relationship between those tables, I'm hoping there is some type of DAX pattern that would allow me to filter my customers that returned an NPS survey, but other fields on the orders and fact tables.  

 

For example, filtering all "Promoters" (from Retently table) by their total sales dollars (on the sales orders table).    Or filtering the Retently survey customers by a certain product on the sales orders table.  

 

Any help is much appreciated!

 

texmexdragon_0-1635863301161.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can create measures that temporarily change the cross filter to BOTH on one of the fact tables.

 

CROSSFILTER function - DAX | Microsoft Docs

 

That will allow you to "get there from here"  for each of these question scenarios.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@lbendlin   Perfect.  I just watched one of RADACAD's videos on this and it happend to exactly match the scenario I'm working with.   

lbendlin
Super User
Super User

You can create measures that temporarily change the cross filter to BOTH on one of the fact tables.

 

CROSSFILTER function - DAX | Microsoft Docs

 

That will allow you to "get there from here"  for each of these question scenarios.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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