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.
Hello,
I'm trying to make a report that counts registrions by address in a specific periode.
Linked to the adress is a "user'.
Now I need an fuction that count the registion of an address to the linked user in the selected periode.
Below a example of address that have 2 different users in the selected periode.
PowerBi shows for the differtent users (same address) the same registations, but I need the count of the registrations of the selected periode by "user"
lot_data:
User address | Start Date | Enddate | Registrations | Lot |
IBRAHIMI BARDHYL | 2021-09-28 10:12:24 | 2022-11-14 00:00:00 | 55 | AF39A476-4420-EC11-B6E5-6045BD899D34 |
MARROUA DARIFA | 2022-11-14 12:14:48 | 55 | AF39A476-4420-EC11-B6E5-6045BD899D34 |
Disposal data:
LotId | Date | CompletionCode |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-10-27 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-11-09 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-11-17 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-11-22 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-11-22 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-11-30 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-02 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-06 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-10 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-14 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-22 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2021-12-22 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-01-17 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-01-17 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-01-27 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-02-08 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-02-18 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-05 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-05 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-13 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-21 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-21 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-29 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-03-29 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-04-06 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-04-06 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-04-23 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-04-23 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-02 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-02 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-09 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-15 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-15 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-23 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-05-23 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-08 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-08 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-21 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-21 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-26 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-26 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-06-28 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-16 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-16 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-19 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-22 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-22 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-27 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-11-27 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-02 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-02 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-09 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-09 00:00:00 | 804 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-14 00:00:00 | 803 |
AF39A476-4420-EC11-B6E5-6045BD899D34 | 2022-12-14 00:00:00 | 804 |
Needed data:
User address | Start Date | Enddate | Registrations | Lot |
IBRAHIMI BARDHYL | 2021-09-28 10:12:24 | 2022-11-14 00:00:00 | 42 | AF39A476-4420-EC11-B6E5-6045BD899D34 |
MARROUA DARIFA | 2022-11-14 12:14:48 | 13 | AF39A476-4420-EC11-B6E5-6045BD899D34 |
Hi @Jeffrey_VC
Thanks for reaching out to us.
>> PowerBi shows for the differtent users (same address) the same registations, but I need the count of the registrations of the selected periode by "user"
please share the sample data in text format and the correct output in table format, thank you.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-xiaotang ,
Thank you for your response.
Is it possible to share the pbix file.
Hello @v-xiaotang,
Happy new Year!
Is there a possibility to share my PBIX? so you can help me to solve my issue 🙂
Greets, Jeffrey
maybe it would be useful to add the pbix, just how do i get that done?
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |