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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
heatherl
Frequent Visitor

Suppressing measure total in table

Hi,

I have a measure as follows.

 

EN Code(s) new = calculate(CONCATENATEX(values(WAGES[EN Code]),WAGES[EN Code],","))

 

I created it as a measure so that it would be updated by my slicer filters as the user filters the data. When it was a Custom Column, it stayed static no matter the slicer filters.

 

I have a resulting issue now which is that the measure is creating a Total in my totals section, which is sometimes an extremely long string that pushes the total section to take over the whole table. I have been searching for a way to suppress the total for that column only but have not found a solution.

 

Can anyone assist?

 

Thanks in advance!

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Thanks @Anonymous, I got it to work using that article. Using ISFILTERED wasn't working for my particular circumstance.

 

EN Code(s) new = IF(HASONEVALUE(REVENUE_BY_ROUTE_F[Route ID]),
                                  calculate(CONCATENATEX(values(WAGES_BY_ROUTE_F[EN Code Full]),WAGES_BY_ROUTE_F[EN Code Full],",")),
                                  BLANK()
                                  )

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thanks @Anonymous, I got it to work using that article. Using ISFILTERED wasn't working for my particular circumstance.

 

EN Code(s) new = IF(HASONEVALUE(REVENUE_BY_ROUTE_F[Route ID]),
                                  calculate(CONCATENATEX(values(WAGES_BY_ROUTE_F[EN Code Full]),WAGES_BY_ROUTE_F[EN Code Full],",")),
                                  BLANK()
                                  )

AlB
Community Champion
Community Champion

Hi @heatherl 

You could

1. Edit the visual so that it doesn't show Totals/Subtotals (see pic below)

2. Update the measure code so that it returns a blank when at the total row.  Yopu can detect that using ISFILTERED( ) 

 

image.png

 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors