Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I am new to power bi and I am trying to build a report which has two datasets involved. data sets are mentioned below.
1. Long_Term_Data: this data consists of multiple columns for the same date which I need to sum up.
2. Excel sheet: where I have projected data for the day (Single entry against each date).
I am trying to create a difference between the sum of Long_term_data - Projected data for each date.
Here is the DAX function I tried but it is returning an error:
Projected table
I have Relationship between those tables as below.
Long_Term: Projected data ----> PDate ---->Date Many to one
Any help is really appreciated
Hi @Anonymous
Understand you want to calculate the difference for each date, so you used the Date in the visual.
try this:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 20 | |
| 12 | |
| 11 |