Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Quiny_Harl
Advocate III
Advocate III

SUMMARIZE table without blanks

I would like to have all unique values from a column in order to use it as a dimension table. Here is how I do that:

Quiny_Harl_0-1606490866894.png

Yet, even though I'm excluding the blank ones I still have one blank. On top of that, when I try to connect it to my fact table it says that the relationship is many to many even though I don't see any duplicate values in this table.

Will appreciate any help!

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Quiny_Harl,

In fact, blank records can be matched with multiple scenarios(blank, empty string, unrecognized special characters), I'd like to suggest you double-check your record value to confirm its type.

In addition, you can also take a look at the below blog about handle blank in Dax to know more them:

Handling BLANK in DAX 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Quiny_Harl , Try

summarize(filter(Table, not(isblank([objective]) )),[campaign_id])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
mahoneypat
Microsoft Employee
Microsoft Employee

Are you sure it is blank and not a space or other character?  If so, please try DISTINCT(campaign_id[objective]) instead.  It will exclude the blank row.

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


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.