Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
74 | |
57 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |