This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I'm trying to do a command but I can't work out how to get it to recognise 0 as a number rather than a blank, the issue I have is I have both blanks and 0's in my column, this is my command:
Solved! Go to Solution.
In the first clause , remove the '= BLANK()' and put isblank before the column name (with brackets round the column)
Use ISBLANK(column) rather than '= BLANK'
Sorry how do I work that into my command I already have? Thank you
In the first clause , remove the '= BLANK()' and put isblank before the column name (with brackets round the column)
Perfect thank you for your help 😊
.. by the way, although the code works, nested IFs like that are a nasty way to accomplish it. SWITCH is a much more readable way to go - like this:
Day Groups = SWITCH(
TRUE(),
ISBLANK( 'Claims Full + Complaints'[Days from Claim to Complaint] ), "No Complaint",
'Claims Full + Complaints'[Days from Claim to Complaint] = 0, "Within 15 days",
'Claims Full + Complaints'[Days from Claim to Complaint] < 16, "Within 15 days",
'Claims Full + Complaints'[Days from Claim to Complaint] < 31, "Within 30 days",
'Claims Full + Complaints'[Days from Claim to Complaint] < 61, "Within 60 days",
"Over 60 days"
)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.