Learn 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!
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 |
|---|---|
| 12 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |