Forum Discussion

cyborgandy's avatar
cyborgandy
Helper II
3 years ago
Solved

Need Help with Creating Table from Four Different Datasets

I have 4 different excel dataset connected to power bi ,below are the example of different dataset. All are in different excel sheets and connected through sharepoint folder

Month Rail SpendCost Centre1Product Area 
Sep11.7ABCDRail 
Sep11.7ABCDRail 
Oct11.7ABCDRail 
Oct11.7ABCDRail 
     
Month Hotel SpendCost CentreProduct Area 
Sep135ABADHotel 
Sep135ABADHotel 
Oct85.5ABADHotel 
Oct97ABADHotel 
     
MonthConfrence SpendCost Centre 1Product Area 
Sep150EEEEConference 
Sep1000EEEEConference 
Oct250EEEEEConference 
Oct250EEEEConference 
Oct720EEEEConference 
     
Travel MonthTicket NumberAir SpendCost Centre1Product Area
Sep12345119.96YYYYAir
Sep56789151.96YYTYAir
Oct22345279.96YYABAir
Oct3455670.48YYYYAir
Oct22334161.98YYCAAir
     
     
     
     
     
     

 

I need to build below table in power bi,could someone help if it is possible as the value is in different datasets

Product AreaSep SpendOct Spend
AirXXXXXXXX
ConfrenceXXXXXXXX
RailXXXXXXXX
HotelXXXXXXXX



4 Replies

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi cyborgandy 

    what is the data type of the month columns?

    you can have a date table or simply a month table that filters the four tables 1-* 

    the rest is just 4 simple measures (one for each metric table) like SUM ( 'Table'[Spend Column] )

    use a matrix visual, place the month column from the dimension table at the columns of the matrix and activate the 'Values on rows" option

      • tamerj1's avatar
        tamerj1
        Community Champion

        cyborgandy 

        You need to create one to many relationships between the dimension table and the four tables.