Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
RE
Helper I
Helper I

calculate number of registrants this time last year

My organization hosts a yearly event and I am writing a report that shows guest registration. I am trying to write a measure that calculates how many people registered on this day last year. Any ideas? 

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @RE,

If you want to calculate how many people registered on this day last year. In your resource table, there should be the people ID and registered date. Please create measure using the formula.

count=CALCULATE(COUNT(Table[ID]),FILTER(Table,Table[registered Date]=DATE(Year(Today()),Month(Today()),Day(Today()))))


If this still don't resolve your issue, please share your sample table and list the desired result.

Best Regards,
Angelia

You need to use time intelligence https://exceleratorbi.com.au/dax-time-intelligence-beginners/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.