Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a table with a single column (date), which has a series of dates under it.
I need to create a measure that counts the number of dates that falls in 2018.
Any idea how I can do this?
Thanks
Solved! Go to Solution.
Hi, lets try with this:
Datesin2018 = COUNTROWS(FILTER(Table1,YEAR(Table1[Fecha])=2018))
Regards
Victor
You may also try the DAX below.
Measure = CALCULATE ( COUNT ( Table1[date] ), Table1[date].[Year] = 2018 )
You may also try the DAX below.
Measure = CALCULATE ( COUNT ( Table1[date] ), Table1[date].[Year] = 2018 )
Hi, lets try with this:
Datesin2018 = COUNTROWS(FILTER(Table1,YEAR(Table1[Fecha])=2018))
Regards
Victor
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.