Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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 |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |