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, I have a table like this.
I need a measure to sum STOCK if date is<2022-03-10 (year= 2022, month= 03, day=10) I tried like this:
Solved! Go to Solution.
Hi, @Anonymous
function DATEVALUE should do the trick.
CALCULATE(SUM(curva_integrada[cantidad_stock]);curva_integrada[fecha_ultimo_ingreso] < DATEVALUE("10/03/2021"))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |