Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

advice on data

hi all i have this data in a single excel sheet that contain both the sale of the sale person and shop location. Is it possible to use this current format in power bi, if yes, how should i go about...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I have created a working example pbx file for you showing step by step how you can take youe excel file and make it work in PowerBI.

     

    Datawise at a minimum I suggest you transpose your data from this

    Sale personJan-19Feb-19Mar-19Apr-19
    Peter2345
    Alan1245
    John5788

    To this

    DatePeterAlanJohn
    Jan-19215
    Feb-19327
    Mar-19448
    Apr-19558

     

    You can do this with special paste in excel and select transpose.

     

    Better still you would have

    SalespersonDateValue
    PeterJan-192
    PeterFeb-193

     

    Once you have your data better set up the powerbi side is easier.

    In the example pbx file I also created a seperate date table by merging the salesperson and location tables together, removing everything except the dat and then deleting duplicates.

    This allows you to add a date filter that will show all dates that appear in either the sales person or location tables.

    Even better would be to create a date dimension but given you are just starting out what I have described above is easier for now.

     

    If you want the example pbx file then just private message me your email address and I will send it over.

     

    Hope this helps.

    If so please click the botton to accept this as an answer.

    Thanks.