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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Displaying Role + Count as different Visual Card

Hi,

 

I trying to do something which I was easily able to when I was using an excel as a data source but now we are using live data from the database and I really need some help.

I am trying to get a similar layout which I had when using excel sheet (these were different columns in my excel sheet so it was easy to create individual visual cards)

 

example.PNG

 

 

This is the output from the database - I have to get this using two tables

1. Roles = names

2. Prsn_ID = Counts of those roles.

 

example 2.PNG

 

I really cant figure out how to have an individual visual card for each role and have the count for it like I could when my data source was just an excel sheet. Maybe need to create a measure? any suggestions and details on how to achieve this.

1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @Anonymous

 

I don't think that you will need to create measures to achevie what you have explained in you post.

 

You can see the solution demonstration below.

 

                                          

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

View solution in original post

4 REPLIES 4
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

For measures, you can try this:

Athletes =
CALCULATE (
    COUNT ( table[Prsn_ID] ),
    FILTER ( table, table[Roles] = "Athletes" )
)


Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
affan
Solution Sage
Solution Sage

Hi @Anonymous

 

I don't think that you will need to create measures to achevie what you have explained in you post.

 

You can see the solution demonstration below.

 

                                          

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

Anonymous
Not applicable

Hi Rexra,

See these images and tell us if works for you.

 

Captura1.JPG

 

Captura2.JPG

 

Anonymous
Not applicable

This would be amazing if I can display the data like this...It is exactly how Im trying to display them individually in boxes 

 

What would I need to do for this?

 

example.PNG

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.