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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
whygeent
Frequent Visitor

Decimal to whole number

hi, i have a problem in making the TOTAL a whole number while retaining the upper values as decimal number. Supposedly the result of the 5 values is 24, 173.5 but i need to make it 24,172 and as a whole number. Is there any possible way can i make the total a whole number while retaining the values above the total?

whygeent_0-1703736838235.png

 

 

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @whygeent 

You can use isfiltered/hasonefilter + format functions to manipulate the totals.
something like :

Ritaf1983_1-1703737457436.png

 

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Hi @whygeent 

It will work with 1 table too

Ritaf1983_0-1703744058353.png

new pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @whygeent 

You can use isfiltered/hasonefilter + format functions to manipulate the totals.
something like :

Ritaf1983_1-1703737457436.png

 

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

as i can see, your age group came from a different table. but mine is only from one table. how can is use this function using one table? im using the MTD column name to format.

whygeent_0-1703739038186.png

 

Hi @whygeent 

It will work with 1 table too

Ritaf1983_0-1703744058353.png

new pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
budhie
Frequent Visitor

hi, can you elaborate more on how you can get the total amount of 24,172? thanks

it was from the another cell with a total of 24,172.

whygeent_1-1703737339745.png

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.