Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have created a column to have a PO lines type, but sometimes people forget to fill some fields so I have some PO lines with a type "No Type", so I want that the line with "No type" takes the type of the other lines of the PO. I show you an example:
PO Number Line Comment PO Type Final PO Type
123 1 I have a quote P2P P2P
123 2 I have a quote P2P P2P
123 3 (blank) No Type No type
234 1 I don't have quote S2P S2P
234 2 I have quote P2P S2P
In the example I want to switch No Type with P2P. While knowing I calculate the column "PO Type" like that :
Hi @AxelKAp
What @lbendlin pointed out is important, you need to add more details to your scenario.
BTW, if you need a new column to show the PO Type and replace NO Type with Final PO Type, use this:
PO Type sum =
IF (
[Final PO Type] = "No Type",
MAXX (
FILTER (
'pochannel-mastervendor',
'pochannel-mastervendor'[PO Number]
= EARLIER ( 'pochannel-mastervendor'[PO Number] )
&& 'pochannel-mastervendor'[Final PO Type] <> "No Type"
),
'pochannel-mastervendor'[Final PO Type]
),
'pochannel-mastervendor'[Final PO Type]
)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
You need to decide what to do in the following scenarios
- none of the other PO line items has a PO Type either
- the other PO line items have different PO Types
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
9 | |
8 | |
8 |