Forum Discussion
Anonymous
4 years agoNot applicable
Applying a Percentile on a Graph
Hi all, I am trying to work with a dataset that has these columns - Reporting Date Form Type ID Actual Days 12/2/2021 Submittal 01E-XXX-00002 467 12/2/2021 Field Observation ...
- 4 years ago
Hi felixthecatx ,
According to your description, 1045 data, 95 percent, 1045 * 0.95 = 992.75, that is, take the data after 993, if according to my previous method, when more than one duplicate value, may be all selected.
like below:
In my opinion, if you want to reach duplication with only one random peer, you need to create auxiliary index rows to ensure that 5 percent is 1.
insert index:
Then adjust measure to the below:
test1 = VAR RANK1 = RANKX ( ALL ( 'Table' ), CALCULATE ( SUM ( 'Table'[value] )+0.0000001*SUM('Table'[Index]) ) ) VAR MIN1 = CALCULATE ( COUNTROWS ( 'Table' ), ALL ( 'Table' ) ) * 0.05 RETURN IF ( RANK1 <= MIN1, 1, 0 )final:
Best Regards
Lucien
Anonymous
4 years agoNot applicable
For more context - If I have 1,045 rows in my dataset, I am looking for 993 rows to be tagged as lower 95% in terms of 'Actual Days' values.