Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
i want to calculate the sales(subtotals) for top 5 product names but give me the same result
My guess is the sales amount is correct, but who knows. You should try both totals in a card with nothing else.
you could also use. CALCULATE(SUM(OrderHeader[SubTotal]),OrderDetail)
I made what you said but give me a different result and applied your equation on the table and give me a different result doesn't equal the total
Use OrderDetail[SalesAmount] instead of sub total. You can only fi,ter/summarise data by following the arrows in the model.
Thanks, Matt
i measured it by [salesamount] but doesn't give me the same result
for example total [subtotals] = 115 M but total [sales amount] = 98 M
The formulas add the totals. You need to understand your data better. Pick one invoice and investigate
okay, I will do
Thanks for help matt
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |