Forum Discussion
saurabhpore
5 years agoFrequent Visitor
Constant value for denominator using measure
Hello All, I am working with data set where I have youth_ID, start_date, end_date, region (table with duplicate youth_id). I have sliclers for start_date, end_date, region. Now, I want to create ...
amitchandak
Super User
5 years agosaurabhpore , Try like
num = CALCULATE(DISTINCTCOUNT('part-2_YA_engagement'[youth_id]))
den = CALCULATE(DISTINCTCOUNT('part-2_YA_engagement'[youth_id]),ALL('part-2_YA_engagement'))
per = num/den
saurabhpore
5 years agoFrequent Visitor
hello,
I tried that approach but it gives me total unique youths rather than unique youth count for selected slicers.
- amitchandak5 years ago
Super User
saurabhpore ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. with couple of use case
- saurabhpore5 years agoFrequent Visitor
Hello,
Please follow below link to download the pbix file.
- saurabhpore5 years agoFrequent Visitor
amitchandak please let me know if you find any solution.