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 want to create a measure to calculate the total sales for specific months. For example, in this example, from Feb to March.
| Date | Sales |
| 02-Feb | 3 |
| 02-Feb | 2 |
| 03-Mar | 6 |
| 03-Mar | 6 |
| 23-Apr | 8 |
| 24-Apr | 8 |
| 24-Apr | 9 |
| 01-May | 1 |
In fact, the measure should show this: (Excluding April and May)
| Sale | 5 | 12 |
| Month | Feb | March |
@amitchandakI don't want to use a slicer. I need to create a measure with DAX since I want to add that with another measure in the future.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |