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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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