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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am looking for some advice on how to deal with the following scenario. The requirement is as follows:
| Employee | Joining Date |
| A | January 2020 |
| B | March 2020 |
| C | November 2019 |
| D | February 2020 |
Could you please suggest a solution for this? I have used Spotfire quite extensively before, and would have used property controls, but am unable to get my head around a solution in PBI.
Thanks,
Vivek
Solved! Go to Solution.
@Anonymous , If joining date is a date, like this you can do by selecting a month
Use date calendar table and join it with Joining date
measure =
var _month =maxx(Date,date[Month])
var _max = maxx(filter(Date,date[month]=_month),Date[date])
return
calculate(count(Table[Employee]),Filter(all(Date),Date[date]<=_max))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
@Anonymous , If joining date is a date, like this you can do by selecting a month
Use date calendar table and join it with Joining date
measure =
var _month =maxx(Date,date[Month])
var _max = maxx(filter(Date,date[month]=_month),Date[date])
return
calculate(count(Table[Employee]),Filter(all(Date),Date[date]<=_max))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Thank you very much sir!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 33 | |
| 32 | |
| 31 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |