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'm trying to calculate Pro Bono Hours of the current month and year.
I originally had the below formula, but that required me to update every month.
So I wrote the below formula however, it isn't working. any assistance would be helpful.
Solved! Go to Solution.
@Anonymous Your parens are wrong:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=MONTH(TODAY())
)
)
@Anonymous Try:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=FORMAT(TODAY(),"mmmm")
)
)
@Anonymous Your parens are wrong:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=MONTH(TODAY())
)
)
Hi Greg,
Thank you I've updated the measure but recieved the below error
Is it because the 'Work Date'[Calendar Month] is listed as August and not 8
Hi, @Anonymous
Could you please tell me whether your problem has been solved?
If yes, you could accept the helpful answer as solution.
For now, there is no content of description in the thread. If you still need help, please share more details.
Best Regards,
Community Support Team _ Eason
@Anonymous Try:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=FORMAT(TODAY(),"mmmm")
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |