Forum Discussion
Longhorns2013
3 years agoRegular Visitor
Lookup or Search Multi-Select Between Tables
Hi All, I have been stuck on this for over a week now and could really use some help: I have one data table that contains the following information: Project ID Workstream ID Value ...
- 3 years ago
Hi, Longhorns2013,
If you drop the relationship between your two tables, and write your measure like this:
Measure = VAR _master = CALCULATETABLE ( VALUES ( Master[Project ID] ) ) RETURN SUMX ( CALCULATETABLE ( Project, FILTER ( Project, CONTAINS ( _master, Master[Project ID], Project[Project ID] ) ) ), Project[Value] )Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
sturlaws
3 years agoResident Rockstar
Depends on how you want to handle lines with missing workstream id
Longhorns2013
3 years agoRegular Visitor
sturlaws - if the Workstream ID is missing, it should just show the project ID associated to it. If it isnt then I would want the Workstream data.
- sturlaws3 years agoResident Rockstar
have a look at the attached pbix-file below, I replaced null with Workflow ID is missing to improve usability