Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
New user here trying to navigate unexpected results. I have a fact table that has multiple entries for repeating data points (email addresses). The same email address is listed multiple times within the same column.
I am trying to create a new column in a new table using the DISTINCT function, but I am recieving the error mentioned above.
The goal is to populate the new column in the new table with ONLY a list of the unique email addresses that are present in the fact table.
It was my assumption that DISTINCT was a fairly straightforward solution, but that does not appear to be the case. Any tips?
Solved! Go to Solution.
hi, @clint_powell
use all() function it give unique value of column
like below
all(tablename[columnname])
Hi, @clint_powell
Syntax error for all() function
See my code properly
You miss ) to finish all() function
filter(
all(tablename[columnname]),
tablename[columnname]<>blank()
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.and don't forgot to give kudos.
Thanks so much for the quick responses! But, I'm still getting an error, see below:
Hi, @clint_powell
Syntax error for all() function
See my code properly
You miss ) to finish all() function
filter(
all(tablename[columnname]),
tablename[columnname]<>blank()
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.and don't forgot to give kudos.
That was it, thanks so much!
hi, @clint_powell
use all() function it give unique value of column
like below
all(tablename[columnname])
Thanks! Is there a way to pull in all the values, but ignore the nulls?
hi, @clint_powell
try below
filter(
all(tablename[columnname]),
tablename[columnname]<>blank()
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.and don't forgot to give kudos.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |