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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All , I need a dax command for adding up the amount i.e from 9.05.20 to 27.06.20 so i should get a total of 240.It would be great if any one could help with the formula. Thanks in advance for helping out.
@AjayRangarajan , Assuming your dates are in DD-MM-YYYY format. You can use a date slicer on week start date and filter
Sum(Table[Amount])
You can create a measure like
calculate ( sum ( Table[Amount] ),
filter (Table ,Table[Week Starting Date] >= date ( 2020, 05, 09 ) && Table[Week Starting Date] <= date ( 2020, 06, 20 ) ))
Filter can be
filter (Table , or filter (allselected(Table) , or filter (all(Table) ,
Depending on what you want to ignore
Hope date is correctly detected as date, else refer
@AjayRangarajan Try this:
=
CALCULATE (
SUM ( Table[Amount] ),
FILTER (
ALL ( Table ),
Table[Week Starting Date] <= DATE ( 2020, 06, 27 )
&& Table[Week Starting Date] >= DATE ( 2020, 09, 05 )
)
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |