Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
73 | |
69 | |
36 | |
26 | |
24 |
User | Count |
---|---|
97 | |
92 | |
54 | |
45 | |
41 |