The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 =
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |