- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

checking value is blank
i want to check every column of my report for whether that column conatins value or not,,,if blank means i want add a default value intead of it...IF the column contain blank is type ( number...put 0, decimal number means 0.00, text type means put "0").How can i do that?i have almost 100 column in my report
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@nisha_deepak , In power bi isblank can be used to check blank in DAX and null in power query
New column like
if(isblank[col1]),0,[col1])
or
if(isblank[col1]),0.0,[col1])
Power Query
if [col1] = null then 0 else [col1]
refer: excel-inside.pro/blog/2018/05/17/comparing-null-values-in-power-query/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You should be able to use a custom format string to display your column in the desired format.
Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs
Regards,
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@nisha_deepak , In power bi isblank can be used to check blank in DAX and null in power query
New column like
if(isblank[col1]),0,[col1])
or
if(isblank[col1]),0.0,[col1])
Power Query
if [col1] = null then 0 else [col1]
refer: excel-inside.pro/blog/2018/05/17/comparing-null-values-in-power-query/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

i got integer value as o for the blank column.But for decimal number having blank value i can't apply value as 0.00.
i try this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @nisha_deepak ,
Firstly, it can't exist multiple data types in the same field. What's the data type of field [column1]? How did you set the data type of new calculated column with formula if(ISBLANK([column1]),0.00,[column1])? If the data type of [column1] is numeric type, you can set the data type for your calculated column as below screenshot:
Best Regards
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
10-14-2024 03:28 PM | |||
08-08-2024 12:28 PM | |||
09-06-2024 03:09 PM | |||
08-20-2024 10:16 PM | |||
07-24-2024 10:21 AM |
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |