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
Eddie
New Member

Power BI DAX error

I created a mesasure using import mode and was able to use it in a vizualization. However, when I use the same measure in direct query mode, I get the following error: " MdxScript(Model) (1,169) calculation error in measure "Measure table[Measure Name]: A table of multiple values was supplied where a single value was expected.

 

Again I created the same value in import mode and did not get this error. Any suggestions on how to fix this?

 

Thanks,

 

 

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@Eddie I've seen this error happening also on directquery mode but works fine when published to service (so just ignore it in poewr bi desktop). Just make sure under File -> Options and settings -> Options -> Directquery -> you have allow unrestricted measures in directquery mode ticked. 

View solution in original post

1 REPLY 1
ankitpatira
Community Champion
Community Champion

@Eddie I've seen this error happening also on directquery mode but works fine when published to service (so just ignore it in poewr bi desktop). Just make sure under File -> Options and settings -> Options -> Directquery -> you have allow unrestricted measures in directquery mode ticked. 

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