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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NadeemAhamed
Helper V
Helper V

How to handle Total and Grand total Values

 

Hi Everyone

 

I am looking for how to handle the Total and Grand Total values which is coming automatically in Power Bi 

but some times if we have some column is text that also its taking as sum.

 

Exception :

NadeemAhamed_0-1726836417760.png

 

In Power BI

 

NadeemAhamed_1-1726836462260.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @NadeemAhamed 
You can use isinscope function to change the totals .
For examle

Ritaf1983_0-1726837067554.png

More detailed guide is by the link:
https://www.youtube.com/watch?v=xAZY9FyLDPo

Or from format options like in the video :
https://www.youtube.com/watch?v=ocbpz2Z_tr8

If my answer was helpful please give me a Kudos and accept as a Solution.

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

2 REPLIES 2
dharmendars007
Super User
Super User

Hello @NadeemAhamed , 

 

Since there is no filter context at Total level you see the values showing, Please try the Hasonefilter or Hasonevalue to handle this scenerio, you can try the sample code below by replacing the sctually measure or column names you have.

 

Remark Measure =
IF(HASONEVALUE(Table[Month]),MAX(Table[Remark]),"N/A")

 

Sum Measure = 

IF(HASONEVALUE(Table[Month]),Sum(Table[Intrest]),Blank())

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Ritaf1983
Super User
Super User

Hi @NadeemAhamed 
You can use isinscope function to change the totals .
For examle

Ritaf1983_0-1726837067554.png

More detailed guide is by the link:
https://www.youtube.com/watch?v=xAZY9FyLDPo

Or from format options like in the video :
https://www.youtube.com/watch?v=ocbpz2Z_tr8

If my answer was helpful please give me a Kudos and accept as a Solution.

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.