Skip to main content
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Helper I
Helper I

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!

Helper I
Helper I

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



View solution in original post

Helper I
Helper I

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors