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.
Hello
I want to replace some values in table 1 of table 2 depending on the invoice no. for example;
Table 1 | ||
Invoice date | Invoice No. | Amount |
01-01-2020 | GOOD-01 | 100 |
02-02-2020 | GOOD-02 | 200 |
03-02-2020 | RAJ-03 | 300 |
04-02-2020 | GOOD-05 | 400 |
05-02-2020 | GOOD-09 | 600 |
31-03-2020 | RAJ-10 | 900 |
Table 2 | |||
Invoice date | Original invoice number. | New bill No. | Revised amount |
01-01-2020 | GOOD-01 | GOOD-06 | 100 |
04-02-2020 | GOOD-05 | GOOD-10 | 500 |
05-02-2020 | GOOD-09 | GOOD-11 | 1000 |
31-03-2020 | RAJ-10 | RAJ-15 | 900 |
In the example above, I want there to be no new invoice. and the amount reviewed in Table 1 when there is a change in the original invoice.
Reqult required as follows:
Result required | ||
Invoice date | Not the correct invoice. | Amount |
01-01-2020 | GOOD-06 | 100 |
02-02-2020 | GOOD-02 | 200 |
03-02-2020 | RAJ-03 | 300 |
04-02-2020 | GOOD-10 | 500 |
05-02-2020 | GOOD-11 | 1000 |
31-03-2020 | RAJ-15 | 900 |
Please lead.
Thank you.
Best regards
Prateek
Solved! Go to Solution.
@visitprateekYou can use LOOKUPVALUE to retrieve the revised invoice number and amount, if any available to build columns in the first table. Then use the new columns in your visuals.
For example:
@visitprateekYou can use LOOKUPVALUE to retrieve the revised invoice number and amount, if any available to build columns in the first table. Then use the new columns in your visuals.
For example:
Thanks a ton :). Problem resolved.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |