Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I want to caculate percentile .exe for the lab parameters.
I have the applied the following dax
Parameter to dynamically Adjust Lower and Upper Values:
Lab Parameter | Visit Name | Site Number | Subject Number | Value | Higher Limit | Lower Limit |
ALT | Day 1 | 5015 | 5015001 | 117 | 90 | 3.8 |
AST | Day 1 | 5015 | 5015001 | 77 | 90 | 3.8 |
Basophils (%) | Day 1 | 5015 | 5015001 | 0.5 | 90 | 3.8 |
Basophils (Abs) | Day 1 | 5015 | 5015001 | 20.9 | 90 | 3.8 |
Blood Urea Nitrogen | Day 1 | 5015 | 5015001 | 13.2 | 90 | 3.8 |
Creatinine | Day 1 | 5015 | 5015001 | 0.5 | 90 | 3.8 |
D-Dimer | Day 1 | 5015 | 5015001 | 0.957 | 90 | 3.8 |
eGFR | Day 1 | 5015 | 5015001 | 116.89 | 90 | 3.8 |
Eosinophils (%) | Day 1 | 5015 | 5015001 | 2.2 | 90 | 3.8 |
Eosinophils (Abs) | Day 1 | 5015 | 5015001 | 92 | 90 | 3.8 |
HbA1c | Day 1 | 5015 | 5015001 | 8.3 | 90 | 3.8 |
Hematocrit | Day 1 | 5015 | 5015001 | 34.2 | 90 | 3.8 |
Hemoglobin | Day 1 | 5015 | 5015001 | 10.9 | 90 | 3.8 |
HS Troponin | Day 1 | 5015 | 5015001 | 0.01 | 90 | 3.8 |
hsCRP | Day 1 | 5015 | 5015001 | 70 | 90 | 3.8 |
Lactate Dehydrogenase | Day 1 | 5015 | 5015001 | 394 | 90 | 3.8 |
Lymphocytes (%) | Day 1 | 5015 | 5015001 | 41.6 | 90 | 3.8 |
Lymphocytes (Abs) | Day 1 | 5015 | 5015001 | 1739 | 90 | 3.8 |
Monocytes (%) | Day 1 | 5015 | 5015001 | 8.6 | 90 | 3.8 |
Monocytes (Abs) | Day 1 | 5015 | 5015001 | 359 | 90 | 3.8 |
I want to calculate the percentile.exe. values to display the lower and upper limit for the selection of lab parameter via slicer.
your support and help is much appreciated
regards
MD
Solved! Go to Solution.
Hi @dmuralli1829 ,
You can try to use allselected in your measure:
Lower Limit = PERCENTILEX.EXC(ALLSELECTED('Lab'), 'Lab'[Value],[Lower Percentile Value])
Higher Limit = PERCENTILEX.EXC(ALLSELECTED('Lab'), 'Lab'[Value],[Higher percentile value])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @dmuralli1829 ,
You can try to use allselected in your measure:
Lower Limit = PERCENTILEX.EXC(ALLSELECTED('Lab'), 'Lab'[Value],[Lower Percentile Value])
Higher Limit = PERCENTILEX.EXC(ALLSELECTED('Lab'), 'Lab'[Value],[Higher percentile value])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
You can't use ALL around a table if you want the measure to be responsive to your selections. ALL effectively IGNORES all filters that may exist on the table or come to the table from outside.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |