Forum Discussion

Ros-ec's avatar
Ros-ec
Helper I
3 years ago
Solved

Two data sets with the same fields in and the data is compounding in a graph and a table. - Power bi

Hi

I am getting to grips with powerbi, I've done a 7 hour course and clearly have some way to go, so any assistance or pointing to the right direction would be very welcomed. I'm comfortable with Excel.

I have connected to three SQL data views:

1.) Sales - with fields date, amount for each sale client id, year, accounting period (base data)

2.) Fees balance - with fields, client balance, client id, year, accounting period

3.) Client data - with fields, client id, client name, account manager plus other client related fields

In the relationships I have connected them together via the client identifier one client in each case where the one is the client.

Next set up a table with Year & Period from sales, Client Id from client data, fees balance from fees balance.

The result is the balances per period per client are massively over stated. 

Help and thank you.

Best wishes

Ros

  • I created a table with the year and period in - then connected all the other tables to this year and period (many to one) then filtered on this and the problem went away. Seemed to be my data relations. Thank you for your offer to help. Best wishes

    Ros

2 Replies

  • davehus's avatar
    davehus
    Memorable Member

    Hi Ros-ec ,

     

    Can you provide a picture of your model and the result you are getting with some sanitised data?

     

    Thanks,

     

    Did I help you today? Please accept my solution and hit the Kudos button.

    • Ros-ec's avatar
      Ros-ec
      Helper I

      I created a table with the year and period in - then connected all the other tables to this year and period (many to one) then filtered on this and the problem went away. Seemed to be my data relations. Thank you for your offer to help. Best wishes

      Ros