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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Scary_Tea6992
Frequent Visitor

Trying to add a measure to a visual, keeps giving me error?

Hi all,

 

I have a measure that divides two other measures by each other. This measure works great, I am able to visualize it. Now, I want to create an average of this measure. First, I created the measure by doing = AVERAGEX('_measures', [MeasureName]). This seems to be accepted into the data model and I do not get any errors. However, when trying to visualize this in a line graph, I get the following error:

 

"Couldn't load the data for this visual

MdxScript(Model) (34, 55) Calcuation error in measure '_measures'[MeasureName]: Table '_measures' cannot be used in computations because it does not have any columns."

 

What is odd to me is I am able to use other measures in this line graph; it's just this specific AVERAGE() one that is throwing me an error. Any help would be greatly appreciated!

1 REPLY 1
Fowmy
Super User
Super User

@Scary_Tea6992 

If you could share the measure that causes the issue?

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.

Top Solution Authors