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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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?