Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
My last post was marked as Spam for some reason so I'm posting again but without a link to the Power BI file. I'll use pictures instead.
I've been having difficulty trying to figure out the relationship between two tables and I'm hoping I can get some help here
I have a sales and target table. The sales table holds granular information and the target table holds top level targets per code and year.
The issue I'm having is trying to create a relationship between the sales and target table so to have a line graph with the sales line and a target line.
From the picture below you can see the item codes are displaying correctly but the target line is straight. It seems to be adding them all together so it is alwats 123000.
I have added the Code and Year tables to create a one to many relationship as previously it was many to many.
This is the data contained within the tables. Sales table then Target table.
Sales Table
Target Table
I would be hugely grateful for any assistance in this.
Kind regards, Kelvin.
Solved! Go to Solution.
Did you use Year column from your Year table as your axis?
Thank you so much for your reply.
I wasn't using the code and year from the inndividual tables. I have done so and now have the desired results.
Many thanks.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |