Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I am newer to Power Bi and I need help with on how to look up a value and if it exist in the dataset take a value and from that row and copy it into a blank value. For the example below i am trying to look up a material number that wasn't entered in that row however i have the document number of all line items and the Material number is the same for that document number. So i just want to lookup that document number and take the Material number and copy it to the blank spot that is missing a material number.
Solved! Go to Solution.
Hi @Anonymous ,
I use group by and remove duplication to get MR_ NUM of each DOC_NUM in the copy table, and then use the merge query.
Please refer to the sample pbix.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
try this button
The issue with using this option is it may fill incorrectly, there may not be another line item under that document number and if that's the case i need it to stay blank. I should have mentioned that in the post.
Hi @Anonymous ,
The issue with using this option is it may fill incorrectly, there may not be another line item under that document number and if that's the case i need it to stay blank. I should have mentioned that in the post.
Sorry, could you describe this in more detail.show a picture to make us more clear what you expect.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I was able to do this in excel using the formula below in the screen shot. However the auto fill does not always work, for example if you see the 2nd screen shot below you can see that sometimes a document number does not have an "MR number" assigned. If this is the case we need to leave it blank or this can cause errors in calucations . As you can see that document number 90058336 does not have an MR_Number anywhere so it would be blank but document number 90058322 has a blank so we need to assign it the same MR_Number that appears with with this document number from another "item of document".
Hi @Anonymous ,
I use group by and remove duplication to get MR_ NUM of each DOC_NUM in the copy table, and then use the merge query.
Please refer to the sample pbix.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
12 | |
11 | |
8 | |
7 | |
7 |
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
10 |