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
Solved! Go to Solution.
Hi @Anonymous
Please try
Classify by Customer SalesDocType =
VAR T1 =
GROUPBY (
customer_mapping_tbl,
customer_mapping_tbl[SoldToParty],
customer_mapping_tbl[SalesDocType],
customer_mapping_tbl[Order Acquisition Classification]
)
VAR T2 =
FILTER (
T1,
customer_mapping_tbl[SoldToParty] = sales_document_header_data_tbl[SoldToParty]
&& customer_mapping_tbl[SalesDocType] = sales_document_header_data_tbl[SalesDocType]
)
RETURN
MAXX ( T2, customer_mapping_tbl[Order Acquisition Classification] )
Hi @Anonymous
Please try
Classify by Customer SalesDocType =
VAR T1 =
GROUPBY (
customer_mapping_tbl,
customer_mapping_tbl[SoldToParty],
customer_mapping_tbl[SalesDocType],
customer_mapping_tbl[Order Acquisition Classification]
)
VAR T2 =
FILTER (
T1,
customer_mapping_tbl[SoldToParty] = sales_document_header_data_tbl[SoldToParty]
&& customer_mapping_tbl[SalesDocType] = sales_document_header_data_tbl[SalesDocType]
)
RETURN
MAXX ( T2, customer_mapping_tbl[Order Acquisition Classification] )
Ahhh that's awesome! Thank you!
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 6 | |
| 5 |