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
TapZxK
Helper II
Helper II

How to show only specific team members? *Newbie Looking for Help*

Hi Team, 

 

yet another rookie question. 

I'm looking to return names of people who are in a specific team. I'm sure there is a DAX to do it but I can't figure it out. 

 

I have a table that lists names of people and also their team. 

 

Member Name // Team Name

Jon                             A

Anna                          A

Stefan                        B

Mike                          A

Stuart                         B

Juliett                         B

Romeo                       A

Cookie Monster          B

 

I want to create a Table in Power BI that will return show names of People in Team A and ignore the rest. 

 

Thank you. 

 

BR,

Kris

 

 

 

1 ACCEPTED SOLUTION

OK, try this:

 

Measure = 
  CONCATENATEX(
    SELECTCOLUMNS(
      FILTER('Table',[Team Name] = "A"),
      "Name",[Member/Name]
    ),
    [Name],","
  )

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

8 REPLIES 8
v-easonf-msft
Community Support
Community Support

Hi , @TapZxK 

Try to create a calculate table :

 

Table 2 = CALCULATETABLE('Table','Table'[Team Name]="A")

 

 

And it shows as below:

62.png

 

Here is a sample :

 Pbix  

 

Best Regards,
Community Support Team _ Eason

Mariusz
Community Champion
Community Champion

Hi @TapZxK 

 

Please see the below.

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

Greg_Deckler
Super User
Super User

Try:

 

Table 2 = FILTER('Table',[Team Name] = "A")

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

so based on your filter you want to have something like "Jon, Anna, Mike"?

If so, use CONCATENATEX but better clarify your needs.

Hi, 

exactly. 

I don't need to see their teams. 

I just want for a visuzalization table to return all the names of people who are in the Team A withou actually shoing the team. 

I need this because I am preparing 2 Reporting pages in Power BI. One for TEAM A and another for TEAM B. 

 

I dont need to specify that Ana is in team A. 

I just need that People who belong to Team A are displayed on the TEAM A Page within Power BI.

OK, try this:

 

Measure = 
  CONCATENATEX(
    SELECTCOLUMNS(
      FILTER('Table',[Team Name] = "A"),
      "Name",[Member/Name]
    ),
    [Name],","
  )

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I do understand that you're a newbie, all of us have been newbies, but I do STRONGLY recommend taking a basic course in PBI and DAX. There's plenty of it on the web, for free. Your question is so basic that you're risking to show incorrect data at the next iteration of your report. 

az38
Community Champion
Community Champion

Hi @TapZxK 

just set filter visual in filter pane as team name = A 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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.