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
hxkresl
Helper V
Helper V

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
Employee
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
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.