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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
hello,
i need to create a measure to calculate total orders in the same selected week last month
for example if i selected from the date slicer period ( jan13->jan19) i want the measure to calculate the total orders
for the period (Dec16->Dec22) which is in the last month
Hello @lawada
Try this formula in a measure not column:
Measure =
SUMX(
DATEADD(Table[Date],-28,DAY),
[Amount]
)
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |