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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vikasomahajan
Frequent Visitor

How to develop model attached in post

Hi Team,

 

I need to design attached data model in power BI attaching sample data here. Any one assist me how to create same in power BI.

vikasomahajan_0-1722134358741.png

Sales:

YearMonthBranchItem NumberCustomer NumberInvoice NumberOrder NumberSalesman NumberInvoice dateSales AmountSales QtyCost AmountMargin AmountUnit  of Measure
2014Jan4011123145671111/1/2014234252550Rs
2014Feb4011123245681112/2/2014500303040Rs
2014march4011123345691113/3/2014200404025Rs
2013Jan4012123445701111/4/2013500242440Rs
2014Feb4012123545711121/5/2014483202050Rs
2012Mar4112123645721121/6/2012532.8232340Rs
2014Apr4113123745731121/7/2014582.6202025Rs
2014May4113123845741121/8/2014632.4242440Rs
2014Jun4113123945751131/9/2014682.2202040Rs
2014Jul4113124045761131/10/2014732232325Rs
2014Aug4213124145771131/11/2014781.8202040Rs
2011Sep4213124245781141/12/2011831.6252550Rs
2014Oct4314124345791141/13/2014881.4303040Rs
2010Nov4314124445801141/14/2010931.2404025Rs

 

Inventory:

BranchItem NumberOn Hand Qty
40111356
41121400
42131500
43141100

Purchasing:

YearMonthBranchItem NumberPO NumberReq Delv DatePO AmountOrdered Qty
2010nov40111211/1/2010300045
2011sept41121221/1/2011400032
2012mar42131231/1/2012500019
2013jan43141241/1/201360006
2014jan44151251/1/2014700056
2015march45161261/1/2015800040

Thanks in advance.

Vikas

2 REPLIES 2
vikasomahajan
Frequent Visitor

Let me check thank you for your response 

rajendraongole1
Super User
Super User

Hi @vikasomahajan - I have create a calculated table that serves as a central link between these three tables

 

Create a calculated table as below:

Linked Table =
SUMMARIZE(
    UNION(
        SELECTCOLUMNS(
            Saless,
            "Branch", Saless[Branch],
            "Item Number", Saless[Item Number]
        ),
        SELECTCOLUMNS(
            iNVE,
            "Branch", iNVE[Branch],
            "Item Number", iNVE[Item Number]
        ),
        SELECTCOLUMNS(
            Purchas,
            "Branch", Purchas[Branch],
            "Item Number", Purchas[Item Number]
        )
    ),
    [Branch],
    [Item Number]
)

 

rajendraongole1_0-1722328406291.png

 

Hope it works

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.