Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
93 | |
83 | |
77 | |
73 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |