Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
How can I calculate each FO number / Receiving Qty.?
I received 15,000 but found 4 foreign bodies as the table below. It works only with Bone but others didn't work.
| Receiving Date | Item Code | RM Name | Est. | Supplier name | Killing date | Cutting date | Condition | Lot | Sublot | Receiving Qty. | FO type | FO Num | |
| 11-Jul-22 | 231100152 | RM A | 100 | A | 5/7/2022 | Frozen | 187 | 10 | 15000 | Bone | 23 | ||
| 11-Jul-22 | 231100152 | RM A | 100 | A | 5/7/2022 | Frozen | 187 | 10 | Stone | 1 | |||
| 11-Jul-22 | 231100152 | RM A | 100 | A | 5/7/2022 | Frozen | 187 | 10 | Feed-Corn | 3 | |||
| 11-Jul-22 | 231100152 | RM A | 100 | A | 5/7/2022 | Frozen | 187 | 10 | Plastic | 1 |
Solved! Go to Solution.
Hi @Witthawat
Here is a sample file with the solution https://www.dropbox.com/t/qij84hgljVePXolp
FO number / Receiving Qty =
DIVIDE (
CALCULATE (
SUM ( Data[Receiving Qty] ),
ALLEXCEPT ( Data, Data[Item Code], Data[Receiving Date], Data[Supplier name] )
),
Data[FO Num]
)
Hi @Witthawat
Here is a sample file with the solution https://www.dropbox.com/t/qij84hgljVePXolp
FO number / Receiving Qty =
DIVIDE (
CALCULATE (
SUM ( Data[Receiving Qty] ),
ALLEXCEPT ( Data, Data[Item Code], Data[Receiving Date], Data[Supplier name] )
),
Data[FO Num]
)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |