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.
Hi there
I have a table of Person and Date In setup in PBI as below.
May I know how can I add a calculated column which returns the count of 'Date In' for each day.
Thanks!
Person | Date In | Cumulative In |
A | 6-Jan-19 | 3 |
B | 6-Jan-19 | 3 |
C | 6-Jan-19 | 3 |
D | 7-Jan-19 | 2 |
E | 7-Jan-19 | 2 |
F | 8-Jan-19 | 1 |
G | 9-Jan-19 | 2 |
H | 9-Jan-19 | 2 |
Solved! Go to Solution.
@Anonymous
Try
=calculate(Countrows(Table1),allexcept(Table1,Table1[Date In]))
@Anonymous
Try
=calculate(Countrows(Table1),allexcept(Table1,Table1[Date In]))
User | Count |
---|---|
73 | |
69 | |
36 | |
25 | |
22 |
User | Count |
---|---|
96 | |
94 | |
53 | |
45 | |
39 |