Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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])
?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 20 | |
| 17 | |
| 12 |
| User | Count |
|---|---|
| 64 | |
| 55 | |
| 42 | |
| 38 | |
| 30 |