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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Count of values

Hi everyone!

 

I'm a new user in Power BI and have what I believe to be an easy-solved problem. 

 

I have a dataset including three columns, namely "date", "country", and "status". The timeline for the dataset is apprioximately 1 year and it is structured in such way that the whole all dates and status for the first country is shown first, followed by the next and so on. There are five different values in the status column, "very fast", "fast", "neutral", "slow", and "very slow".

 

BobbyHalm_1-1606995012827.png

 

In my dashboard, I have created a filled map and would now like to create five different cards, each displaying the number of countries having a specific status for a specific date, e.g. the number of countries with the status "Neutral" on the 16th feb. 

 

I'm not sure how to do this in the best way and would really appreciate some help, thanks!

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , one of the way is to use the count of country on all card visuals ans the use visual level filter on status .

 

Second is create five measure like

calculate(count(Table[country]), filter(Table, table[status] ="Neutral"))  // five with each status

 

Use a date slicer. preferably a date table

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

AlB
Community Champion
Community Champion

Hi @Anonymous 

You can just place Date and Status in slicers so that you can make the selection dynamically and then place this measure in a card visual:

 

Measure = DISTINCTCOUNT( Table1[Country] ) 

 

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

View solution in original post

2 REPLIES 2
AlB
Community Champion
Community Champion

Hi @Anonymous 

You can just place Date and Status in slicers so that you can make the selection dynamically and then place this measure in a card visual:

 

Measure = DISTINCTCOUNT( Table1[Country] ) 

 

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

amitchandak
Super User
Super User

@Anonymous , one of the way is to use the count of country on all card visuals ans the use visual level filter on status .

 

Second is create five measure like

calculate(count(Table[country]), filter(Table, table[status] ="Neutral"))  // five with each status

 

Use a date slicer. preferably a date table

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors