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.
How can I deal with null values in a date column in power query. I am basically trying to deal with blank values that show null in power query, but show as blank in the dashboard view. I am trying to write, if [Column1] <> null and [Column2] <> null then "write text" or a statement like if [Column1] = null then "write text", but I keep getting errors. I can't change the null values to a bogus date like (1/1/1900) because it will affect the values I calculate for this column.
Hi @char23 ,
Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.
How to Get Your Question Answered Quickly
In addition, you can also take a look at the following link about handle with blank in dax.
How to handle BLANK in DAX measures - SQLBI
Regards,
Xiaoxin Sheng
definitely avoid using bogus dates. Consider using COALESCE([date],TODAY()) or consider ignoring these values in your measure. If you provide some more details it will be easier to assist.
Hello, thank you for the response. I am trying to write nested if statements in power query for a conditional column. I keep getting the error
"Expression.Error: We cannot convert the value null to type Logical.
Details:
Value=
Type=[Type]"
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 |
---|---|
72 | |
68 | |
53 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |