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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.