Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a simple custom column below that is a conversion time in dates. Each of these columns has rows with null, so my custom column also has null. Is there a way I can replace null with blank in my custom column?
column = [lead duration] - [offer duration] - [accepted duration]
Solved! Go to Solution.
Hi @ERing ,
Unfortunately, this is the default. null means blank. null does not represent the text "null" here, so it does not affect the calculation.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ERing ,
Unfortunately, this is the default. null means blank. null does not represent the text "null" here, so it does not affect the calculation.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ERing
You can establish an if to check if a value is null. I don't know how your columns are defined, but anyway: if([lead duration]= null then <what you want to return> else [lead duration])
If you want a blank -> then BLANK()
My columns are defined as decimal number.
Is there a way to check just the result of the custom column so that if the result is null, then Blank()?
Hi @ERing
Yes, you can store the result in a variable and then check with an if in this way:
Measure=
var _result= <Your measure>
return IF (_result= null,BLANK(),_result)
But if you want to perform calculus, it is better to return a 0 instead of a BLANK()
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |