Forum Discussion
MarcW
7 years agoFrequent Visitor
Divide Measure and calculated column issue
Hello, everybody, I have a problem that's been stuck in my head for three weeks. The situation: In my raw data table there is a value column with 20,000 rows. About 10,000 rows have a value <>0...
WillyW
7 years agoFrequent Visitor
Hi,
I think you need DISTINCTCOUNT instead of count.
Target factor = DIVIDE(2.000.000/DISTINCTCOUNT(value);SUM(Merge[value €]);0)
MarcW
7 years agoFrequent Visitor
Hi,
thanks for your reply. Unfortunalety this doesn`t work, because there are sometimes the same values in each row. With DISTINCTCOUNT I get much less counts than I actually have per line.
Thanks!
- WillyW7 years agoFrequent Visitor
I'd suggest to add a column with unique numbers from 1 to x (or maybe you have order numbers or kind of IDs you can use?), then you should be able to use DISTINCTCOUNT on this column.