Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello Power BI Community,
I have a situation where the data I have feeding to tables and multiple Donut Charts is being skewed based on blank data. This is causing a real headache because I am not sure how to fix. Currently, the data is being run by a measure such as the following:
Solved! Go to Solution.
Hi @Anonymous ,
check out the "Diabolical Genius of SWITCH TRUE"
https://powerpivotpro.com/2015/03/the-diabolical-genius-of-switch-true/
OTD Label =
SWITCH(
TRUE(),
ISBLANK(OnTimeDelivery[DayDiff2]), BLANK(),
OnTimeDelivery[DayDiff2] <= -5 , "Early",
OnTimeDelivery[DayDiff2] <= 3 , "On-Time",
OnTimeDelivery[DayDiff2] >= 4 , "Late",
"NV"
)
Hi @Anonymous ,
check out the "Diabolical Genius of SWITCH TRUE"
https://powerpivotpro.com/2015/03/the-diabolical-genius-of-switch-true/
OTD Label =
SWITCH(
TRUE(),
ISBLANK(OnTimeDelivery[DayDiff2]), BLANK(),
OnTimeDelivery[DayDiff2] <= -5 , "Early",
OnTimeDelivery[DayDiff2] <= 3 , "On-Time",
OnTimeDelivery[DayDiff2] >= 4 , "Late",
"NV"
)
@Anonymous , Try like
if(isblank(DayDiff2),blank(),IF(OnTimeDelivery[DayDiff2] <= -5 , "Early", IF(AND(OnTimeDelivery[DayDiff2] >= -4, OnTimeDelivery[DayDiff2] <= 3), "On-Time", IF(OnTimeDelivery[DayDiff2] >= 4, "Late", "NV"))))
User | Count |
---|---|
92 | |
87 | |
77 | |
73 | |
68 |
User | Count |
---|---|
116 | |
107 | |
88 | |
65 | |
63 |