Forum Discussion
Anonymous
4 years agoNot applicable
How to filter ID;s based on another column
Hi, I have a table where there is ID, previoustasks_ttaskids and employee_ttaskresourceid columns. I need to filter the table to contain only the ID's where previoustask_ttaskid = id and display the employee_ttaskresourceid. Could someone please help on this.
Hi,
This calculated column formula works
Column = LOOKUPVALUE('refResourceTask (2)'[employee_ttaskresourceid],'refResourceTask (2)'[id],'refResourceTask (2)'[previoustasks_ttaskids])Hope this helps.
10 Replies
- Seanan
Solution Supplier
Hi Anonymous
I've created a measure to achieve this.
Matching Id's = COUNTROWS(FILTER('Ids','Ids'[PreviousTaskId] = 'Ids'[Id]))Table:
Result:
Kind regards,
Seanan
If this post helped, please consider accepting it as the solution.- AnonymousNot applicable
- Seanan
Solution Supplier
Hi Anonymous
It appears you've created this as a calculated column. Could you please create this as a measure and then you can use it in a table visualisation.
- Ashish_Mathur
Super User
Hi,
This calculated column formula works
Column = LOOKUPVALUE('refResourceTask (2)'[employee_ttaskresourceid],'refResourceTask (2)'[id],'refResourceTask (2)'[previoustasks_ttaskids])Hope this helps.