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
Anonymous
Not applicable

Select column based on selection from different table

Hi Everyone,

 

i have a table, which contains a overall Project overview:

ID

Name

TotalCost

1

P1

10

2

P2

20

3

P3

30

 

For each project, i have a detailed Project table:

 

Example Project1:

ID

CostPosition

CostAmount

1

Project Management

4

1

Development

4

1

Support

2

 

Example Project2:

ID

CostPosition

CostAmount

2

Project Management

5

2

Testing

2

2

Support

5

2

Development

8

 

Project Overview and the detailed project table are connected by the ID.

 

I want to create a Measure, which containts CostPosition and CostAmount of the Selected Project (from Poject Overview).

 

Any ideas how to do this? Is it possible to do it dynamically, so when i add more projects, i dont have to update the Measure?

 

 Thanks for your help!

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

you might consider creating pbix file that will contain some sample data (remove the confidential info), upload the pbix to onedrive for business and share the link to the file. Please do not forget to describe the expected results based on this sample data.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
az38
Community Champion
Community Champion

Hi @Anonymous 

if I understand you correct, you dont need any measures here.

It should be enough to create relationships between Project overview and Project tables one-to-many and add fields you need to visual


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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.