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!View all the Fabric Data Days sessions on demand. View schedule
Hello everyone,
In my report I have two tables : Date and Sales (not connected to each others).
I added a slicer based on Date[date] and I'm trying to create a calculated table showing only sales with dates former to the date selected from Date.
The following formula works :
FilteredTable =
var summarized_ = SUMMARIZE(Sales,Sales[ID_Sale],Sales[ID_Client],
"FINAL_SALE_DATE",MAX(Sales[Sales_Date]))
var date_ = DATEVALUE("2024-01-01")
return filter(summarized_,[FINAL_SALE_DATE] <= date_)
But when I use the selected date I get an empty table :
FilteredTable =
var summarized_ = SUMMARIZE(Sales,Sales[ID_Sale],Sales[ID_Client],
"FINAL_SALE_DATE",MAX(Sales[Sales_Date]))
var date_ = DATEVALUE(LASTDATE('DATE'[Date]))
return filter(summarized_,[FINAL_SALE_DATE] <= date_)
I'd appreciate your help on this issue 🙂
Solved! Go to Solution.
Calculated tables are only calculated during data refresh, they don't pay any attention to filters or slicers. If you want something to react dynamically you have to use a measure.
Calculated tables are only calculated during data refresh, they don't pay any attention to filters or slicers. If you want something to react dynamically you have to use a measure.
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 |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 14 | |
| 12 |