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
Anonymous
Not applicable

Dax Question about resources

Hi, I have a question about writing DAX and using it in reports.

When you write a dax measure, but not reference it in the report you're building, slow the report?

Or do DAX measures take a hit on resources only if they're referenced in the report itself?

I want to build a series of reusable dax measures as templates, drop them in the report so that can be used and reused by others. Wondering if this causes the report to slow or a resource hit occurs?

Is it better that I remove all dax code that isn't used in the report?

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
DAX measures are calculated only if referenced. However, always clean your file and reports and keep only relevant data and measures. I've seen files with tens and sometimes hundreds of measures, cannot describe how ugly and confusing that is. You can create calculation groups to reduce the number of measures.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for the response.  I suspected that was the case but I wanted to confirm that. 
Appreciate!

tamerj1
Super User
Super User

Hi @Anonymous 
DAX measures are calculated only if referenced. However, always clean your file and reports and keep only relevant data and measures. I've seen files with tens and sometimes hundreds of measures, cannot describe how ugly and confusing that is. You can create calculation groups to reduce the number of measures.

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.