Forum Discussion
Almiwork
4 years agoFrequent Visitor
Measure misbehaving when adding more columns to matrix
Hi all, I'm in need of a measure that allows me to distribute sales coming from sub_channelgrouping = Unknown into my other rows. This should be based on the share that each row have of the total sa...
amitchandak
Super User
4 years agoAlmiwork , I have done only chance in if. But this part you need to revisit
(CALCULATE(SUM('Customer Status & Traffic Sales'[actual_sales]), 'Customer Status & Traffic Sales'[Sub_ChannelGrouping] = "Unknown") * SUM('Customer Status & Traffic Sales'[actual_sales]) / CALCULATE(SUM('Customer Status & Traffic Sales'[actual_sales])
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Almiwork
4 years agoFrequent Visitor
The order of multiplication and division doesn't matter fyi?
I'll see if I can work together a sample dataset