Forum Discussion
rfwjr64
6 years agoFrequent Visitor
Dividing
Hello, I am trying to divide a subset of values in one column by the total of the same column. What I am trying to determine is how many records have an EAU$ of less than $2000 and divide that numb...
Pragati11
Super User
6 years agoHello @rfwjr64 ,
You can create a measure as follows:
calcMeasure - DIVIDE(
CALCULATE(DISTINCTCOUNT(tablename[EAU$]), tablename[EAU$] < 2000),
DISTINCTCOUNT(table name[EAU$]), 0)
Use the table name and column name in the previous DAX expression.
Thank you
Pragati
rfwjr64
6 years agoFrequent Visitor
This does help. Now I can move on. Thank very much.