Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am currently using the following formulas to create a the measure "Median Days in Ship Queue":
Median Days in Ship Queue = MEDIANX(DISTINCT(Shipping[Order_key]),[MEDIAN DAYS IN SHIP])
MEDIAN DAYS IN SHIP = MEDIAN(Shipping[Days_In_Ship_Queue])
However, when I put the measure into a card to display it in Power BI Desktop, it returns "(BLANK)".
I thought that the medianx and median function ignored blank values. I was just hoping to understand the issue. Please can someone shed some light on this for me?
Solved! Go to Solution.
What happens if you do this:
Median Days in Ship Queue = MEDIANX(DISTINCT(Shipping[Order_key]),Shipping[Days_In_Ship_Queue])
?
What happens if you do this:
Median Days in Ship Queue = MEDIANX(DISTINCT(Shipping[Order_key]),Shipping[Days_In_Ship_Queue])
?
| User | Count |
|---|---|
| 50 | |
| 35 | |
| 29 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 57 | |
| 39 | |
| 22 | |
| 21 |