Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hello everyone,
I would like to create a background color when :
if one of the two periods is blank and not the other, it should return in red where values are missing.
I have tried the following formula :
i would like to have something similar or a third column that says that value are missing.Only if one of them are blanc , if both are blank it should not return anything.
Solved! Go to Solution.
Hi, @akerrout
try using || instead of AND
for example:
Missing Check =
IF (
(ISBLANK([COP1]) && NOT(ISBLANK([COP1 LMTD]))) ||
(NOT(ISBLANK([COP1])) && ISBLANK([COP1 LMTD])),
"MISSING",
BLANK()
)
This new column can be used to conditionally format your data visualization by setting the color to red when the "Missing Check" value is "MISSING". Please note that conditional formatting options depend on the visualization used, but in most cases you can use the "Field value" mode and select the "Missing Check" field.
Proud to be a Super User!
@akerrout good to know.
appreciate the kudos.
Proud to be a Super User!
Hi, @akerrout
try using || instead of AND
for example:
Missing Check =
IF (
(ISBLANK([COP1]) && NOT(ISBLANK([COP1 LMTD]))) ||
(NOT(ISBLANK([COP1])) && ISBLANK([COP1 LMTD])),
"MISSING",
BLANK()
)
This new column can be used to conditionally format your data visualization by setting the color to red when the "Missing Check" value is "MISSING". Please note that conditional formatting options depend on the visualization used, but in most cases you can use the "Field value" mode and select the "Missing Check" field.
Proud to be a Super User!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!