Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |