cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CharlotteCity12
Microsoft
Microsoft

Suppress Values if under Ten

I want to remove the data lable number if the total is under 10.. Also place text "* age group -- under ten"

 

CharlotteCity12_0-1665765914676.png

Data:

AgeGroupTotalStudents
(0-2yrs)9
(3 - 5yrs)2
(6 - 11yrs)17
(12 - 17yrs)29
(18 - 21yrs)24
Older8

 

 

1 ACCEPTED SOLUTION
serpiva64
Super User
Super User

Hi, you can use a calculated column

AgeGroupGrouped = if ('Table (2)'[TotalStudents]<=10,"* age group -- under ten",'Table (2)'[AgeGroup])

serpiva64_0-1665772109513.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

View solution in original post

1 REPLY 1
serpiva64
Super User
Super User

Hi, you can use a calculated column

AgeGroupGrouped = if ('Table (2)'[TotalStudents]<=10,"* age group -- under ten",'Table (2)'[AgeGroup])

serpiva64_0-1665772109513.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors