Hi, in dax I’d like to have the max sale of each orderid (there can be multiple items…
- User
Hi, in dax I’d like to have the max sale of each orderid (there can be multiple items for one order) but have it sum by orderid.
- Assistant
In DAX (Data Analysis Expressions), used in Microsoft Power BI and Analysis Services, to obtain the maximum sale amount per OrderID and then sum these maximums, you need to use a combination of DAX functions. However, it is important to note that in typical data schemas, an 'OrderID' would generally represent a single order, and the individual lines or items would be identified separately, often with a 'LineID' or similar.
In this case, let's assume your data model has an 'OrderID' for each order and a 'LineID' for each item within the orders, and you have a 'Sales' column representing the sale amount for each line item.