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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Greetings,
I am doing some work on a previously built PowerBI Dashboard, and have the following cacluated field, but it doesn't seem to be working correctly. It works great for anything that is greater than 60 minutes, but anything less than 60 minutes comes up as (BLANK). I'm guessing it's just a little issue, but I can't seem to figure out what's missing.
Solved! Go to Solution.
Hi! @LFrench
Try this, also attaching the pbix.
Hi! @LFrench
Try this, also attaching the pbix.
Var mins = SUM('Course Information'[MIN])
Return
Switch(
True,
Mins < 60, mins & " minutes",
Mins < 1440, round(divide(mins, 60),2) & " hours",
Mins >= 1440, round(divide(mins, 1440),2), & " days"
)
I attempted this, but got the following error:
Need to add this at the start to name the measure
Minimum Time for Completion =
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |