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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
IanCockcroft
Post Patron
Post Patron

DAX errors on one environment, but not another

Hi guys, if  i develop a PBI file on one machine and open it on another, the DAX throws errors.

the only difference is the OS which is windows 7 on the dev machin and windows 10 on the other machine.

Both have the latest version of PBI.

 

 

dX  CS.JPGAny idea why?

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @IanCockcroft 

First, check if the original pbix show these measures correctly.

Then, if they are correct, you may try to create a new measure using the same logic of the measure on windows 10 on the other machine.

 

If error still occurs,

When you move pbix from windows 7 on the dev machin to windows 10 on the other machine,

How about the original data source?

 

If you connect to data source in direct query or live connection, power bi can't get data from data sources.

You need change data source setting to acess the data source.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @IanCockcroft 

Also try to update the desktop to the latest version.

Good Luck!
A

Hi guys, thanks for taking a look.

its the exact same PBIX file. 

its a measure, but it does it for all measures. 

The report runs on the windows 10 machine, its only as soon   as i select a measure to edit it, the errors are thrown.

Both Machines run the latest(september) PBI

 

Its almost as if the DAX library, if there is one, is installed in the wrong place and it cant find function definitions.

v-juanli-msft
Community Support
Community Support

Hi @IanCockcroft 

Is it a column or a measure?

 

When use the pbix on another machine, do you connect to power bi dataset from Power BI Service?

If not, how do you move a pbix in one machine to another machine?

 

CALCULATE function won't work if it is used in a calculated column in direct query mode or live connection mode.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.