Hi guys. I apologize if there's something already out there that answers my question. I'm new to the world of DAX, and I wasn't able to find my exact situation readily. This is a fairly simple scenario:
I have a table of transaction data, which has multiple line items for each part. So a lot of times, I'm doing aggregation on this data to the "part-level".
I also have a lookup table ("part-master") which contains characteristics about each part, and higher level part aggregations (let's call them "part-groups"). Now, let's assume not every part in the "part-master" actually has transactions associated with it in the base data table ("transactions"), and let's assume that there are some zero-value transactions (for the purposes of this formula, I know it doesn't make a ton of sense.)
Basically, I want a pivot table that counts the total number of parts with revenue (a column in the "transaction" table) for each "part-group", and also sums that revenue total. The second measure is easy. I can't quite figure out the first one.
Essentially, I'm trying to create a measure that says, "Count up every part in each group (I'm thinking from the"part-master" lookup table) that has positive revenue associated with it in the transactions data."
So basically the equivalent of an excel "COUNTIFS", just across table relationships. Does that make sense?
I have a table of transaction data, which has multiple line items for each part. So a lot of times, I'm doing aggregation on this data to the "part-level".
I also have a lookup table ("part-master") which contains characteristics about each part, and higher level part aggregations (let's call them "part-groups"). Now, let's assume not every part in the "part-master" actually has transactions associated with it in the base data table ("transactions"), and let's assume that there are some zero-value transactions (for the purposes of this formula, I know it doesn't make a ton of sense.)
Basically, I want a pivot table that counts the total number of parts with revenue (a column in the "transaction" table) for each "part-group", and also sums that revenue total. The second measure is easy. I can't quite figure out the first one.
Essentially, I'm trying to create a measure that says, "Count up every part in each group (I'm thinking from the"part-master" lookup table) that has positive revenue associated with it in the transactions data."
So basically the equivalent of an excel "COUNTIFS", just across table relationships. Does that make sense?