Forum Discussion
Subtraction for Group BY (Unique UID)
- 5 years ago
Anonymous , The input table and ask is not matching.
But if you want an action on grouped data, these are the ways.
sumx(values(Table[UID]),[UID in Stock] -[a_Prod_Total])
sumx(summarize(Table,Table[UID],"_1",[UID in Stock] -[a_Prod_Total]),[_1])If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Anonymous , The input table and ask is not matching.
But if you want an action on grouped data, these are the ways.
sumx(values(Table[UID]),[UID in Stock] -[a_Prod_Total])
sumx(summarize(Table,Table[UID],"_1",[UID in Stock] -[a_Prod_Total]),[_1])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.