Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to compare what values our system holds vs Excel files that people keep up to date. The idea is to compare and contrast so we can pinpoint errors
Both data sets can have multiple entries for the fields I'm interested in, 'Name', 'Month', 'Cost'. The only way to 'join' them up is by the Name as they are the same in both tables.
Essentially, what I'm looking for is to sum the total for the client per month, from both data sets and add them to visuals.
An example below
Solved! Go to Solution.
Hi @jyouens ,
The table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a table
Table = ADDCOLUMNS(
SUMMARIZE('SYSTEM', 'SYSTEM'[Client Code], 'SYSTEM'[Client Name], 'SYSTEM'[Date]),
"System Amount", CALCULATE(SUM('SYSTEM'[System Amount])),
"Excel Amount",CALCULATE(SUM('EXCEL'[Excel Amount]),
FILTER(ALL('EXCEL'),'EXCEL'[Client Code] = EARLIER('SYSTEM'[Client Code]) && 'EXCEL'[Client Name] = EARLIER('SYSTEM'[Client Name]) &&'EXCEL'[Date] = EARLIER('SYSTEM'[Date]))))
2. Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
worked perfectly, thank you @Anonymous
Hi @jyouens ,
The table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a table
Table = ADDCOLUMNS(
SUMMARIZE('SYSTEM', 'SYSTEM'[Client Code], 'SYSTEM'[Client Name], 'SYSTEM'[Date]),
"System Amount", CALCULATE(SUM('SYSTEM'[System Amount])),
"Excel Amount",CALCULATE(SUM('EXCEL'[Excel Amount]),
FILTER(ALL('EXCEL'),'EXCEL'[Client Code] = EARLIER('SYSTEM'[Client Code]) && 'EXCEL'[Client Name] = EARLIER('SYSTEM'[Client Name]) &&'EXCEL'[Date] = EARLIER('SYSTEM'[Date]))))
2. Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |