Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
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!
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
@Quiny_Harl , Try
summarize(filter(Table, not(isblank([objective]) )),[campaign_id])
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |