cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atavo Regular Visitor
Regular Visitor

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 Senior Member
Senior Member

Re: DAX - Many to Many Relationship - Banking Scenario

@atavo,

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

atavo Regular Visitor
Regular Visitor

Re: DAX - Many to Many Relationship - Banking Scenario