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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to get the total at the bottom for non numeric fields

Hi All,

I have a report where i want to get the total at the bottom. The issue is the column is not numeric , it is case number. I need the count(casenumber) as a total. I created a new measure (GrandTotal), but that will be just another column. Please see the below screen shot.

Capture32.PNG

Please advice.

Thanks

1 ACCEPTED SOLUTION

@Anonymous ,

 

if(isinscope(Table[casenumber), max(Table[casenumber]), count(Table[casenumber]))

 

or

 

if(isfiltered(Table[casenumber), max(Table[casenumber]), count(Table[casenumber]))

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , You can use isfiltered. But That also need two measures

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Anonymous
Not applicable

Thanks @amitchandak can you please explain what the other measure would be , the article is not that clear.

@Anonymous ,

 

if(isinscope(Table[casenumber), max(Table[casenumber]), count(Table[casenumber]))

 

or

 

if(isfiltered(Table[casenumber), max(Table[casenumber]), count(Table[casenumber]))

Anonymous
Not applicable

Thanks @amitchandak that worked ! 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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