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! Request now
I'm trying to calculate the total sales from the 1st of the month (1st of january, 1st of february etc). Ignoring all other sales from the other days in the month.
* 1/1/2020
* 1/2/2020
* 1/3/2020
Imagine the measure I currently use is [Total Sales] Which is a SUM(sales).
My date table is in m/d/yyyy/ hh:mm:ss: but ideally the time would be ignored
I'd then like to adjust the [Total Sales] so it only factors in the sales made on the 1st of each month (Every month, every year)
Any help would be appreciated, thanks a lot!
Regards,
Justin
Hey,
You can create a Flag column indictaing that it is 1st day of the month.
Then in measure : Calculate (sum(sales), FIlter(Flagcolumn=1))
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 |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |