Forum Discussion
Match Data in Power BI Desktop
Hi,
Please show your datasets and your expected result.
HIi,
Dataset 1
| Client | IVR_1 | FVR_1 |
| 100001 | 8:30:00 | 11:00:00 |
| 100003 | 8:00:00 | 17:00:00 |
| 100005 | 7:00:00 | 12:00:00 |
| 100006 | 6:00:00 | 17:00:00 |
| 100008 | 8:00:00 | 17:00:00 |
| 100009 | 8:30:00 | 17:00:00 |
| 100012 | 8:00:00 | 16:00:00 |
| 100012 | 8:00:00 | 12:00:00 |
| 100013 | 7:00:00 | 13:00:00 |
| 100014 | 8:00:00 | 16:00:00 |
| 100015 | 8:00:00 | 12:00:00 |
| 100016 | 7:00:00 | 12:00:00 |
| 100018 | 7:00:00 | 12:00:00 |
| 100019 | 7:00:00 | 17:00:00 |
| 100023 | 7:00:00 | 13:00:00 |
| 100025 | 7:00:00 | 13:00:00 |
| 100027 | 8:00:00 | 17:00:00 |
| 100029 | 7:00:00 | 12:00:00 |
| 100031 | 8:00:00 | 12:00:00 |
Dataset 2
| Client | Delivery hour |
| 117612 | 16:51:29 |
| 117612 | 17:51:29 |
| 117612 | 18:51:29 |
| 116403 | 19:51:29 |
| 116403 | 20:51:29 |
| 116403 | 21:51:29 |
| 116403 | 22:51:29 |
| 116403 | 23:51:29 |
| 116403 | 0:51:29 |
| 116403 | 1:51:29 |
| 116403 | 2:51:29 |
Expeceted Result
| Client | Delivery hour | IVR_1 | FVR_1 |
| 117612 | 16:51:29 | 8:30:00 | 11:00:00 |
I want to join both tables with all the clients, to se if the delivery time its between IV_R1 and IV_R2, the problems is that I dont have the same client information, it does not allowme to relate.
Thanks so much
- Ashish_Mathur8 years ago
Super User
Hi,
I am sorry but i cannot understand why the answer should be 8:30 and 11:00. Please explain.
- Anonymous8 years agoNot applicable
Hi,
Sorry, the 2 datasets looks like these:
Dataset 1:
Client IVR_1 FVR_1 100012 8:30:00 11:00:00 ... ... ... Dataset 2:
Client Delivery hour 100012 16:51:29 .. ... And the result would look like this:
Client Delivery hour IVR_1 FVR_1 100012 16:51:29 8:00:00 16:00:00 ... .. ... ... - Ashish_Mathur8 years ago
Super User
Hi,
So when the client ID in Table 2 matches the client ID in Table 1, you want to extract the IVR_1 and FVR_1 from Table 1. Am i correct? If yes, then share a dataset (which i can paste into MS Excel) with matching clinet ID's in both tables.