March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm making my first weapons in Power BI
I need to get a report of items sold by customer.
Something like
Customer Name - Item Name - Total Amount Sold
The tables I have are the ones I detail at the end
I made the relationships
SALES (NO) -> LINES-SALES(NO) One to Various
LINES-SALES(ITEM) -> ITEMS(ITEM) Multiple to One
ITEMS(ITEM) -> ITEMS(ITEM) Various to One
And the report that I get is as follows. I can't get him to calculate the total by item correctly. In each Item you put the total of the sales, and not the total of the item
Hi @Syndicate_Admin ,
Can you provide more details on how you are attempting to calculate totals by project? Specifically, are you using DAX metrics for this calculation, and if so, can you share the expression you are using?
Best Regards,
Adamk Kong
Any suggestions??
Hello. I'm not using DAX. I'm just using the fields from the tables.
SALES | |||
NRO | DATE | CUSTOMER | TOTAL |
1 | 12/02/2024 | 1 | 980 |
2 | 13/02/2024 | 1 | 390 |
3 | 15/02/2024 | 2 | 520 |
LINES-SALES | |||
NRO | ARTICLE | QUANTITY | PRICE |
1 | 100 | 5 | 100 |
1 | 101 | 4 | 120 |
2 | 102 | 3 | 130 |
3 | 101 | 2 | 120 |
3 | 102 | 1 | 130 |
3 | 103 | 1 | 150 |
ARTICLES | |||
ARTICLE | NAME | PRE-UNIT | ITEM |
100 | ARTICLE 100 | 150 | A |
101 | ARTICLE 101 | 125 | A |
102 | ARTICLE 102 | 140 | B |
103 | ARTICLE 103 | 150 | C |
PRODUCTS | |||
ITEM | NAME | ||
A | ITEM A | ||
B | ITEM B | ||
C | ITEM C |
Actually, in the first instance I need to get a sales report by line item.
Once this is solved, I estimate that I could make the report of the total amount sold of items, by customer.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
76 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |