Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Dealing with Targets

Hi Community,


First of all thanks for your time, this problem could be very easy but im struggling trying to find the answer, thanks in advance for any suggestion:


I have 2 Tables {Sales, Vendor}, each of the vendors have a target but it will depend on his category that is include in the Vendor Table (FullTime, PartTime, Supervisor) and each of those have a different Target (FullTime T1: 100, T2:200, T3:300; PartTime T1:50, T2:75,T3:125; Supervisor T1:150, T2:275, T3:425)


I want to built a target measure that calculate this after the selection of a Vendor Name on a Slicer. My question is how can I capture the value of the column Position of the Vendor Table.




Vendor1 is PartTime

Total Sales related to Vendor1 are 65 so Vendor1 surpass the T1 and on way to T2


Vendor5 is FullTime

Total Sales related to Vendor5 are 95 so Vendor5 is on way to T1


The result should be something like this:




The report will have a Slicer with the names of the Vendors, each time the user select one It should change.


I can't find a way that allow me to change between Target according to the Column [Position] in Vendor Table


Any thought will be very welcome!

Frequent Visitor

To capture a value from a table you need to use : 



View solution in original post

Frequent Visitor

To capture a value from a table you need to use : 


Community Support
Community Support

hi @GuidoPinares 

Thanks for reaching out to us.

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.


Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Super User
Super User

@GuidoPinares This is going to depend on what your tables look like.


Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here:

Also, please see this post regarding How to Get Your Question Answered Quickly:

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.