This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |