Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Fcoatis
Post Patron
Post 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

1 ACCEPTED SOLUTION
SteveCampbell
Memorable Member
Memorable 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  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png

 



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



View solution in original post

2 REPLIES 2
SteveCampbell
Memorable Member
Memorable 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  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png

 



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



@stevecampell Thank you very much!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.