Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
HI All,
Need your help on creating the date column with relationship table.
OutPut:
| Code | Sale Date | icode | Grc Date |
| 1 | 07-01-2022 | AK001 | 01-01-2022 |
| 1 | 11-01-2022 | AK002 | 05-01-2022 |
| 1 | 11-01-2022 | AK003 | 05-01-2022 |
| 2 | 19-01-2022 | AK004 | 13-01-2022 |
| 2 | 19-01-2022 | AK005 | 13-01-2022 |
| 2 | 21-01-2022 | AK001 | 15-01-2022 |
| 3 | 24-01-2022 | AK002 | 18-01-2022 |
| 5 | 24-01-2022 | AK003 | 18-01-2022 |
| 7 | 03-02-2022 | AK004 | 28-01-2022 |
| 2 | 03-02-2022 | AK004 | 28-01-2022 |
| 6 | 26-01-2022 | AK001 | 20-01-2022 |
| 3 | 21-01-2022 | AK002 | 15-01-2022 |
| 8 | 24-01-2022 | AK003 | 18-01-2022 |
| 8 | 24-01-2022 | AK004 | 18-01-2022 |
| 3 | 03-02-2022 | AK004 | 28-01-2022 |
Link: https://drive.google.com/file/d/195zv-UmlYc3sU30cJ7NOf_apuyEMc0m6/view?usp=sharing
@amitchauhan @bvanderwatt @ray_ux @tamerj1 @SpartaBI @v-chenyue-msft @mangaus1111
Solved! Go to Solution.
>>Create 1 index column called "Sales Index" in Sales table in Power Query.
>>Create 1 index column called "GRC Index" in GRC table in Power Query.
>>Create this calculated column in the Sales Table.
Note : this solution only work on Index Column If you change your data so may be this solution is not work.
>> Create New Column.
date =lookupvalue(Grc[Grc Date],Grc[Code],Sales[Code])
If this post helps, please consider accept as solution to help other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |