Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Everyone,
I'm trying to calculate median of P by Date.
MEDIAN =MEDIAN(Table[p])
Median for 7,5,1 is 5 while i get 1
sample file --> Sample file
Solved! Go to Solution.
Hi @Anonymous ,
I have built a data sample:
Measure = MEDIAN('Table'[P])Measure 2 = CALCULATE(MEDIAN('Table'[P]),ALLSELECTED('Table'))
Please always use the latest version of PBI. And if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Any updates?
Best Regards,
Eyelyn Qin
Hi @Anonymous ,
I have built a data sample:
Measure = MEDIAN('Table'[P])Measure 2 = CALCULATE(MEDIAN('Table'[P]),ALLSELECTED('Table'))
Please always use the latest version of PBI. And if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, it won't let me access the file. I think may only be set to for access within your tennant.
I suspect the problem you're having is the filter context coming from the date but would like to see file first.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 27 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |