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.
Im having trouble with power BI Report Builder for somthing that feels like it could be pretty simple but isnt and it may be because i dont understand how to refrence values that are in diffrent scopes. Basically i have 2 tables, one is a table that just has jobs listed on it(So like Project Manager, Anylist, that kind of thing) and another that lists hours worked each week by diffrent people, and it includes a column that refrences what position they are, so it would be a one to many relationship between Job DataSet and Worked DataSet on their column. I have a tablix that is using the Jobs DataSet and what i want to do is have a column that sums up all of the hours worked, but filter it so that it only sums up the ones who their Job column is equal to the Job value of the row on the table, but i just cant get it to work. I can get it to only sum up ones whos Job column matches a static string, and a perameter, but i just cant for the life of me get it to use values within the row itself. Anyone have any help? Thanks!
Solved! Go to Solution.
Hi @gblanks ,
Based on your description, try the following steps:
Like below formula:
=Sum(Lookup(Fields!Job.Value, Fields!Job.Value, Fields!HoursWorked.Value, "WorkedDataSet"))
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gblanks ,
Based on your description, try the following steps:
Like below formula:
=Sum(Lookup(Fields!Job.Value, Fields!Job.Value, Fields!HoursWorked.Value, "WorkedDataSet"))
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
73 | |
70 | |
38 | |
24 | |
23 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |