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! Learn more

Reply
hxkresl
Advocate III
Advocate III

How to remove the "Total" row in custom DAX table

the code for custom table is returning a total (6996) row, which is undesireable.   How to change DAX so it doesn't appear?

#ReportAttributeCount = SELECTCOLUMNS(
                           SUMMARIZECOLUMNS(
                           'Report-AttributeMap'[Report Name],
                           "rptA - Total Attributes", COUNTROWS('Report-AttributeMap')
                           ),
                             "ReportA", 'Report-AttributeMap'[Report Name],
                             "rptA - Total Attributes", [rptA - Total Attributes]
)

Capture4.PNG

 

1 ACCEPTED SOLUTION

Thanks for your time. I discovered the 6996 is coming in because that many rows in source table have Report Name and AttributeNames blank.  So, afterall this isn't a total issue.  My error.

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@hxkresl

 

I haven't encountered this issue.

 

1.PNG

 

4.PNG

 

What's your data source?

 

If you are using Excel, try to use Table1 instead of Sheet when importing data so that the entire table context will not be included.

 

Regards,

Thanks for your time. I discovered the 6996 is coming in because that many rows in source table have Report Name and AttributeNames blank.  So, afterall this isn't a total issue.  My error.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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