The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
My data base is like this and i would like to had a column filled with "First" when this is the first "date_debut" of the same group of "id_membre" ; "Last" if this is the last "date_début" of the group with same "id_membre" and "Renew" for the other rows.
Ex:
id_membre | date_debut | new_row
1 | 01/07/1965 | First
1 | 01/07/1970 | Renew
1 | 01/07/1971 | Last
2 | 01/07/1965 | First
2 | 01/08/1965 | Renew
2 | 01/08/1965 | Renew
2 | 01/08/1965 | Renew
2 | 01/07/1965 | Renew
2 | 01/07/1965 | Last
3 | 01/07/1965 | First
4 | 01/07/1965 | First
4 | 01/07/1965 | Last
....
Tx for your help
Solved! Go to Solution.
hi @Yon_Yamas ,
try to add a calculated column like:
Thank you so much !
hi @Yon_Yamas ,
try to add a calculated column like:
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |