Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
Syndicate_Admin
Administrator
Administrator

HELP BUILDING RELATIONSHIPS

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

SERGLE_0-1709647230783.png

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

SERGLE_1-1709647391647.png

4 REPLIES 4
v-kongfanf-msft
Community Support
Community Support

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.

SERGLE_0-1709747575277.png

SALES
NRODATECUSTOMERTOTAL
112/02/20241980
213/02/20241390
315/02/20242520
LINES-SALES
NROARTICLEQUANTITYPRICE
11005100
11014120
21023130
31012120
31021130
31031150

ARTICLES
ARTICLENAMEPRE-UNITITEM
100ARTICLE 100150A
101ARTICLE 101125A
102ARTICLE 102140B
103ARTICLE 103150C
PRODUCTS
ITEMNAME
AITEM A
BITEM B
CITEM C
Syndicate_Admin
Administrator
Administrator

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.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.