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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |