The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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:
Thank you!
Sarah
Solved! Go to Solution.
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"?
Thank you!
Sarah
@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.
@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])))
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"?
Thank you!
Sarah
User | Count |
---|---|
68 | |
63 | |
59 | |
55 | |
28 |
User | Count |
---|---|
183 | |
80 | |
62 | |
46 | |
38 |