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
Hello, I want to create a custom table based on a time comprasion.
I have a table that lists item sold from 01/01/0217 up until today.
I want to create a table with the item sold only in 2017.
My idea would be to do something like
LastYear=CALCULATETABLE('Table';Table[date]<01/01/2018).
However this does not work.
Solved! Go to Solution.
Hi @Anonymous
Try LastYear=CALCULATETABLE('Table';Table[date]<YEAR(2018,1,1))
Hi @Anonymous
Try LastYear=CALCULATETABLE('Table';Table[date]<YEAR(2018,1,1))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |