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
I'm a new user, so bear with me:
I have a pretty simple data set in Table B that has data for when each ID is expected to receive revenue. It looks like this:
So there can be multiple rows for each ID. I want to create a new column in Table A (which has only one row for each ID) that brings the total income for each project when the date is today or earlier.
I tried this, but it is bringing me the same value for all IDs:
@ozturkk
Please try this:
Bugüne Tahmini Gelir =
VAR __Date = TODAY()
RETURN
CALCULATE(
SUM(TableB[INCOME]),
TableB[Date] <= __Date
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you for your reply. Sadly, I am still getting the same value for all IDs
l have also tried this to no avail:
SUMX( VALUES('TableB'[ID]), CALCULATE( SUM('TableB'[INCOME]), 'TableB'[DATE] <= TODAY(), 'TableB'[ID] = EARLIER('TableB'[ID]) ) )
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 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |