Forum Discussion
community_pinki
5 years agoHelper II
Distinct values with NOBLANK
Hi All, I am trying to fetch all the distinct PrimaryName except blank value from existing table to a new one but there is blank value also present. Is that possible in Power BI.? I have tried fo...
- 5 years ago
Hey community_pinki ,
you can remove that row with the FILTER function:
Creators = FILTER( DISTINCT( VALUES( CREATOR_DATA[PrimaryName] ) ), CREATOR_DATA[PrimaryName] <> BLANK() )If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic - 5 years ago
Hi community_pinki ,
myTable = DISTINCT(FILTER(VALUES(Attendee[Completed]),LEN(Attendee[Completed])>0))
Replace your tablename and columnname in above DAX.
Thanks,
Pragati
Pragati11
5 years agoSuper User
Hi community_pinki ,
myTable = DISTINCT(FILTER(VALUES(Attendee[Completed]),LEN(Attendee[Completed])>0))
Replace your tablename and columnname in above DAX.
Thanks,
Pragati
community_pinki
5 years agoHelper II
Hi Pragati11 ,
Thanks it works.
- Pragati115 years agoSuper User
HI community_pinki ,
I am glad the solution works. Please mark it as a solution if you are happy with it. 🙂
Thanks,
Pragati