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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ShrimpSurf
Helper II
Helper II

How to stop text from being included in subtotals

For some reason Text is being included in my subtotals.   See "First Customer Name" in my example.   I have the text formated as Text in Data Type and in Format.  It is also flagged as "Don't Summarize".   Help!

 

Screen Shot 2021-12-23 at 6.19.40 PM.jpg

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @ShrimpSurf ,

I created some data:

vyangliumsft_0-1640573238753.png

Here are the steps you can follow:

1. Create measure.

Name_measure =
IF(
    HASONEVALUE('Table'[Date]),MAX('Table'[Name]),BLANK())

2. Result:

vyangliumsft_1-1640573238756.png

 

Best Regards,

Liu Yang

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

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi  @ShrimpSurf ,

I created some data:

vyangliumsft_0-1640573238753.png

Here are the steps you can follow:

1. Create measure.

Name_measure =
IF(
    HASONEVALUE('Table'[Date]),MAX('Table'[Name]),BLANK())

2. Result:

vyangliumsft_1-1640573238756.png

 

Best Regards,

Liu Yang

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

Ashish_Mathur
Super User
Super User

Hi,

What result are you expecting?  Share the download link of your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I would expect that the customer name in the far right would not be included under the Month or Year total.

 

How should I share the PBI file (Google download)?

 

Hi,

Google Drive download link.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I just granted you permission.  Thanks again!

Access Denied message.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors