Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
71 | |
56 | |
39 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |