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

Sum from other table

Hi,

 

I have 2 tables as follow:

How can I get the sum of purchase amount in Table 3?

Table 1   Table 2   Table 3    
CustomerDateDiscount CustomerDatePurchase amount CustomerDateDiscountPurchase amount 
A1/5/201910 A1/5/2019100 A1/5/201910150 
A3/5/201920 A1/5/201920 A3/5/201920200 
B1/5/20195 A1/5/201930 B1/5/20195100 
B2/5/20199 A2/5/201940 B2/5/20199100 
C3/5/201910 A3/5/2019200 C3/5/201910100 
C6/5/201910 B1/5/2019100 C6/5/20191050 
D1/5/20191 B2/5/2019100 D1/5/2019150 
    C1/5/201950      
    C2/5/2019100      
    C3/5/2019100      
    C6/5/201950      
    D1/5/201950      
    D2/5/2019100      
             
1 ACCEPTED SOLUTION
rocky09
Solution Sage
Solution Sage

check below:

 

1. Create a Date Table

Date Table = DISTINCT(Table2[Date])

2. Create Customers Table

Customers = DISTINCT(Table1[Customer])

3. Now, Create relationship like below.

8jr0nq3

4. Now, Use table visual to arrange the data.

Q6i3At7

View solution in original post

1 REPLY 1
rocky09
Solution Sage
Solution Sage

check below:

 

1. Create a Date Table

Date Table = DISTINCT(Table2[Date])

2. Create Customers Table

Customers = DISTINCT(Table1[Customer])

3. Now, Create relationship like below.

8jr0nq3

4. Now, Use table visual to arrange the data.

Q6i3At7

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.

Top Solution Authors