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
atavo
Helper I
Helper I

DAX - Many to Many Relationship - Banking Scenario

I have two fact tables (data is from January 2018 to March 2018):

- one captures the salary payments to customers and

- the other captures electronic transactions performed by customers.

The tables are related to each other using customer name field.

 

Appreciate any help with dax measures for the following questions:

 

a) Count the number of customers that performed 10 or more electronic txns in at least 1 month from January to March 2018.

b) Count the number of customers that performed 10 or more electronic txns for EVERY month from January to March 2018.

c) Count the number of customers who received salary payments for EVERY month from January to March 2018.

d) Count the number of customers that performed 10 or more electronic trxns for every month AND received salary payments for every month.

 

Lastly, the working fact files are actually millions of rows long, so, can these measures be optimized?

 

I have the sample power bi file. Just don't know how to upload it.

 

Alfred

2 REPLIES 2
Thejeswar
Resident Rockstar
Resident Rockstar

@atavo,

You can share your file by uploading it to either One drive or Drop box and share the link here

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.