Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I have a date table and a transaction table.
The date table has more dates than the transaction table.
I want to create a card showing the value of the last with week a value.
Somehow my formula doesn't work though....
It's probably simple, but I just can't see how I fix this.
Who can help me please?
My formula:
It shows a blank in my card. It's probably because there are only transactions in week 1 and 2, not in the later weeks....
If I create a table with the week and the amount, it only shows week 1 and 2.
I want to see the value of week 2 as a result of my formula - to present in a card - , but this doesn't happen. Why?
Solved! Go to Solution.
I found the solution I needed myself in the meanwhile:
I found the solution I needed myself in the meanwhile:
@Anonymous
maybe you can try
amount of max week =
VAR lastweekwithamount = year(MAX('Transaction'[Date]))&month((MAX('Transaction'[Date]))
RETURN
CALCULATE(SUM('Transaction'[Amount]), 'Date'[Week] = lastweekwithamount)
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 92 | |
| 70 | |
| 50 | |
| 40 | |
| 35 |