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.
Dear Team,
I hope you're doing great!
Could someone please help me with the following if statement I'd like to add to a conditional column in Power Query?
Unfortunately, PO value is given as "#/#" in one column. However, the same value can be given from different row where the Document Text is identical to the case where PO is "#/#". Ideally, I'd like to exract the figure from the row where the Document Text is identical or duplicated and PO is e.g. 450000xxx and not '#/#"
1) PO.UP is #/#
2) However, Document Text is identical in another row in the same table
3) Whereas in the identical row has almost always a value in the so called PO Colum e.g. 45xxxxxxx
4) Ideally, I'd like to assign a new PO.UP2 colum to extract the value in step (3)
Any ideas how to do this with Power Query?
Thanks a lot for the help
Add a custom column:
= if [PO] = "#/#" then null else [PO]
Fill this column up
https://learn.microsoft.com/en-us/power-query/fill-values-column
Andreas.
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 |
---|---|
13 | |
13 | |
10 | |
8 | |
7 |
User | Count |
---|---|
17 | |
10 | |
7 | |
6 | |
6 |