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.
Hey folks,
First time posting on this awesome forum! I'm stumped with what should be a simple solution.
I'm trying to count the number of appointments for the entire current month. Using the MTD function counts until the current date, but I need a count for the entire month.
Thanks everyone!
Assuming you have a Dates table in your data model with a yearmonth column. If not then you should add that.
Full Month =
var m = selectedvalue(dates[yearmonth])
return Calculate (count(whatever),allselected(table),dates[yearmonth]=m)
That will give you the entire month, regardless of which day of that month is in focus.
I'm still getting an incorrect result. Maybe my formula is wrong?
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |