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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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