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
selimovd
5 years agoMost Valuable Professional
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 regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
community_pinki
5 years agoHelper II
Hi selimovd ,
Thanks..this Dax also worked.
- selimovd5 years agoMost Valuable Professional
Hey community_pinki ,
perfect, I'm happy you could solve that 🙂.
Don't forget to mark all approaches that worked as solution ✔️ (you can mark multiple posts as solution).
Like this, you help the next person who is stumbling across this post to see immediately what worked.If you need any help please let me know.Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic