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 have a two column called min and max
Min | Max |
492 | 499 |
500 | 550 |
470 | 480 |
520 | 560 |
490 | 530 |
I want to calculate the median between min and max and store into seperate column called 'median
expected result
Min | Max | Median |
492 | 499 | 495.5 |
500 | 550 | 525 |
470 | 480 | 475 |
520 | 560 | 540 |
490 | 530 | 510 |
I calculated the median in excel, not sure how to do in Power BI?
Can anyone advise?
Solved! Go to Solution.
@bourne2000
You can create a measure as follows and add it to a table visual.
Median = MEDIANX( {MAX(Table2[Min]) , MEDIAN(Table2[MAX])} , [Value])
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@bourne2000
You can create a measure as follows and add it to a table visual.
Median = MEDIANX( {MAX(Table2[Min]) , MEDIAN(Table2[MAX])} , [Value])
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |