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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

First Entry of Each Month

Hi,

 

Is there a way to display the first date of entry for each month for each person?

 

I was able to find the very first entry of the year, but I want to somehow create a column that represents the first entry of each month, so I can use this column to find the number of days between the first entry of each month, and todays date

 

Currently, my formula to find the first entry is below:

Date of First Entry 2020 = calculate(firstnonblank(CP_Consolidated[2020 Dates],1),allexcept(CP_Consolidated,CP_Consolidated[Crew#]))

 

Thank you!
Sarah

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@amitchandak 

So this correctly finds the first day of the full year, but is there a way to find the first date for each month? so when it becomes February, instead of "1/2/2020", the correct output would be "2/3/2020"?

 

Capture.PNG

 

Thank you!
Sarah

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@Anonymous add this measure to get first entry of each month, assuming you have a date dimension in your model. As a best practice, add date dimension in your model and use it for and time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools.

https://perytus.com/2020/05/22/create-a-basic-date-table-in-your-data-model-for-time-intelligence-calculations/

 

First Entry Measure = CALCULATE( FIRSTNONBLANK( 'Calendar'[Date] , 1), CP_Consolidated )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

amitchandak
Super User
Super User

@Anonymous , you need have month year column,

view this my month -year


FIRSTNONBLANKVALUE(CP_Consolidated[Crew#],Max(CP_Consolidated[2020 Dates]))

or

FIRSTNONBLANKVALUE(CP_Consolidated[month-year],FIRSTNONBLANKVALUE(CP_Consolidated[Crew#],Max(CP_Consolidated[2020 Dates])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

So this correctly finds the first day of the full year, but is there a way to find the first date for each month? so when it becomes February, instead of "1/2/2020", the correct output would be "2/3/2020"?

 

Capture.PNG

 

Thank you!
Sarah

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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