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
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
Employee
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
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.