Forum Discussion
austinjgreer
4 years agoFrequent Visitor
Division with a Filter
Hello, I'm trying to divide using the count of values in one column, by the count of values in another column within a different table. What I had originally was: Scan Rate = DIVIDE (COUNT (Tab...
johnt75
4 years agoSuper User
Is the column going on the table with the IP addresses or the hostnames. And do both tables have a month column?
austinjgreer
4 years agoFrequent Visitor
The column is going into Table 1. Table 2 is a static list of ~6500 IPs/hostnames that does not change and has no dates on it.
- johnt754 years agoSuper User
try
Percentage = DIVIDE( CALCULATE( COUNTROWS('Table1'), ALLEXCEPT( 'Table1', 'Table1'[IP Address], 'Table1[Month]) ), COUNTROWS('Table2') )- austinjgreer4 years agoFrequent Visitor
Tried it, and now I'm getting .02% for all rows.
- johnt754 years agoSuper User
can you provide a sample PBIX ?