Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
@kari1282 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())
)
)
@kari1282 Try:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=FORMAT(TODAY(),"mmmm")
)
)
@kari1282 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, @kari1282
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
@kari1282 Try:
MTD Pro Bono =
CALCULATE(
[Pro Bono],
FILTER(
'Work Date',
'Work Date'[Calendar Year]=YEAR(TODAY()) &&
'Work Date'[Calendar Month]=FORMAT(TODAY(),"mmmm")
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |