Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Is there a way to replace null values with other text in a Time Column?
When I use the column for a Table, it shows all nulls as Blank and I would like other text.
Solved! Go to Solution.
Hi, @bdehning
The data type of a column has to be the same. The value in the middle of the time column cannot be converted to a text value.
Column = IF([Time]=BLANK(),TIME(0,0,0),[Time])
Does this solve your problem?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @bdehning
The data type of a column has to be the same. The value in the middle of the time column cannot be converted to a text value.
Column = IF([Time]=BLANK(),TIME(0,0,0),[Time])
Does this solve your problem?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Even if you can do that, you should not because in a single column the same data type should be maintained.
@bdehning , In power query you can do replace null ( all small null) with a value. But make sure you choose timeline 00:00:00 or 0 else data type conversion might fail
Power Query Replace Value: https://youtu.be/hkZhZbR7Kmk
In Dax new column
coalesce([Time], time(0,0,0) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |