Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Scatter Plot Clustering created a "Blank" category

I am working through the first section of module 4 of the Coursera Data Analysis and Visualization with Power BI course. one of the assignments is to create 4 clusters for the scatterplot (see left image). I wanted to expand the work to create a bar chart for these clusters as well. When i created the bar chart a "blank" category was shown. The sum of the 5 categories in the bar chart is equal to the total sales value for the data set. I checked the data tables and there are no "blank" city names. 

 

Any thoughts on what this bank category was created?

 

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Anonymous ,

     

    This is because there are values in the Fact table that are not in the Dim table, and the engine automatically creates a Blank and categorizes the values that don't correspond. 

    By checking, 'Reseller'[ResellerKey] is missing the value -1, This would invalidate the relationship.

    Measure = CALCULATE(SUM('Sales'[Sales Amount]),'Sales'[ResellerKey]=-1)

    Make sure that the 1 side of the relationship contains all the values of the multi-side and does not contain blank values.

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

6 Replies