Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have created a percentile measure in my data using one column of data (ENGAGED_DAYS) but where more than one person has the same value (i.e. PERSON_CODE 2 and 3) I'd like to use another column as a tie-breaker (REQUEST_PER_ACTIVE_DAY).
The data looks like this...
COURSE_CODE | PERSON_CODE | ENGAGED_DAYS | REQUESTS_PER_ACTIVE_DAY |
MATHS101 | 1 | 10 | 15 |
MATHS101 | 2 | 15 | 11 |
MATHS101 | 3 | 15 | 17 |
MATHS101 | 4 | 20 | 10 |
I created this measure...
And this is the measure I created which calulates the percentile based on ENGAGED_DAYS only....
Hi @DHB
The first idea came to me is to multiply a small number (e.g. 0.0001) to REQUESTS_PER_ACTIVE_DAY and add this result to ENGAGED_DAYS to create a new adjusted ENGAGED_DAYS column with this additional factor. In this way, the new ENGAGED_DAYS column will not have duplicated values. Then you can use this new column in your percentile measure instead.
new ENGAGED_DAYS = 'tablename'[REQUESTS_PER_ACTIVE_DAY] * 0.0001 + 'tablename'[ENGAGED_DAYS]
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Thank you @v-jingzhang. It doesn't matter that some people might have the same results in both measures as they can be given the same percentile in that case. Adding the two numbers together would also mean that one loses primacy over the other.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |