Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have two lists: "ProductsManufactured" and "QualityInspections". Both have a column named 'SerialNumber'.
I want to create a measure that counts manufactured products that have went trough quality inspection during manufacturing process. In the other words, I want to count "ProductsManufactured"-rows whose 'SerialNumber' also exist in "QualityInspection" list.
How I should approach this?
Solved! Go to Solution.
Hi @SamiS
I understand by 'lists' you mean tables? Try this:
Measure =
COUNTROWS (
INTERSECT (
DISTINCT ( ProductsManufactured[SerialNumber] ),
DISTINCT ( QualityInspections[SerialNumber] )
)
)
"ProductsManufactured" and "QualityInspections". Both have a column named 'SerialNumber'
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @SamiS
I understand by 'lists' you mean tables? Try this:
Measure =
COUNTROWS (
INTERSECT (
DISTINCT ( ProductsManufactured[SerialNumber] ),
DISTINCT ( QualityInspections[SerialNumber] )
)
)
"ProductsManufactured" and "QualityInspections". Both have a column named 'SerialNumber'
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
@SamiS ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
104 | |
79 | |
68 | |
61 |
User | Count |
---|---|
144 | |
104 | |
103 | |
82 | |
70 |