cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wpf_
Post Prodigy
Post Prodigy

Why is the value of the measure different when i store it in a variable?

I have a measure that calculates the travel times.  I store it in a variable inside another measure.  When i use this variable in a calculate function, the value is different then when i use the measure explicity in the same calculate function.  What can i do to retain its original value of the measure when storing it in a variable? Thanks 

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @wpf_ 

 

Please See this link:

 

https://radacad.com/caution-when-using-variables-in-dax-and-power-bi

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!!

 

View solution in original post

2 REPLIES 2
VahidDM
Super User
Super User

Hi @wpf_ 

 

Please See this link:

 

https://radacad.com/caution-when-using-variables-in-dax-and-power-bi

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!!

 

@VahidDM Thanks that helped!

 

 

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.