Forum Discussion

Jungbin's avatar
Jungbin
Frequent Visitor
2 years ago
Solved

Why Blank Row Is Created?

Hi there!

 

I have two tables: People, Information. And they have a 1 : Many relationship by [Name] field.

I also made a Measure below:

# of ID Created in 2023 = CALCULATE(COUNTA('Information'[ID])+0,'Information'[Created Date]>=DATE(2023,1,1))

 

Though I don't have a blank cell in my [Team] Column in 'People' table, the Power BI matrix keeps returning me a blank row with 0.

Does anyone know why this happens? Plus, I want that row to be excluded from my matrix without touching Filter. Is it possible?

 

  • Hi Jungbin 
    It happens because you are adding 0.
    So to resolve it you need to create the formula without "+0" or to filter out the blank row from the filter pane.
    The filter can be blocked and invisible to the user.

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

  • Hi Jungbin 
    Seems like "yep" about the filter pane, even if it is not the only possible, it is definitely the easiest option.

    Glad to help 🙂

4 Replies

  • Hi Jungbin 
    It happens because you are adding 0.
    So to resolve it you need to create the formula without "+0" or to filter out the blank row from the filter pane.
    The filter can be blocked and invisible to the user.

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

    • Jungbin's avatar
      Jungbin
      Frequent Visitor

      Hi, Ritaf1983

       

      Thanks for your comment. Now, the blank row disappeared after deleting "+0".

      I want to keep "+0" in my formula to show "0" next to "Others" team in my result matrix.

      So, in this case, to filter out the blank row from the filter pane would be the only possible option, right?

      • Ritaf1983's avatar
        Ritaf1983
        Icon for Super User rankSuper User

        Hi Jungbin 
        Seems like "yep" about the filter pane, even if it is not the only possible, it is definitely the easiest option.

        Glad to help 🙂

  • I use same DATA and make same matrix.

    But there is no blank row in the matrix made by me.

    I think you made some relationships to other tables.

    I think the cause of the problem lies in those relationships.