Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |