Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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 )
)
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |