Forum Discussion
Fcoatis
7 years agoPost Patron
Distinct from a virtual table
Hello,
I need to create a distinct value with no blanks table from this:
SELECTCOLUMNS(
CALCULATETABLE(
Arbitragem,
Arbitragem[Função]="Arbitro",
Arbitragem[Nome Oficial]<>" "
),
"Arbitro", Arbitragem[Nome Oficial]
)Please help
In Dax, this table can be created by:
Arbitro = CALCULATETABLE( VALUES(Arbitragem[Nome Oficial]) ,TRIM(Arbitragem[Nome Oficial]) <> BLANK() ,Arbitragem[Função]="Arbitro" )Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!Stay up to date on
Read my blogs onRemember to spread knowledge in the community when you can!
2 Replies
- SteveCampbellMemorable Member
In Dax, this table can be created by:
Arbitro = CALCULATETABLE( VALUES(Arbitragem[Nome Oficial]) ,TRIM(Arbitragem[Nome Oficial]) <> BLANK() ,Arbitragem[Função]="Arbitro" )Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!Stay up to date on
Read my blogs onRemember to spread knowledge in the community when you can!
- FcoatisPost Patron
@stevecampell Thank you very much!