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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need to count the registers (idpersona) of a month if that id exist in the previous month as in example bellow
| id | idpersona | fecha |
| 1 | 34 | 01/04/2023 |
| 2 | 3 | 01/04/2023 |
| 3 | 5 | 01/04/2023 |
| 4 | 34 | 01/05/2023 |
| 5 | 3 | 01/05/2023 |
| 6 | 5 | 01/05/2023 |
| 7 | 4 | 01/05/2023 |
so, the result must be 3.
My (wrong) formula is
Could you, please, help me. Thanks
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26Rh3KHAmhL66JHK2PA?e=UfZi30
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |