Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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]
)
Solved! Go to 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.
I haven't encountered this issue.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |