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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Multiple DAX VAR/RETURN IF

Hello All,

 

Coudl you please advise where can be a mistake if formula is the same but in 1st case it's working and shows different numbers for Year to Year and Month to Date numbers and the 2nd one shows the same value.

 

thanks a lot.

var.JPG

3 REPLIES 3
d_gosbell
Super User
Super User


@Anonymous wrote:

Hello All,

 

Coudl you please advise where can be a mistake if formula is the same but in 1st case it's working and shows different numbers for Year to Year and Month to Date numbers and the 2nd one shows the same value.

 


That would imply that there is maybe something wrong with the relationship between the 0_Calendar and BC_AC_Eur tables. Either the filtering is in the wrong direction or the relationship is missing altogether. 

Anonymous
Not applicable

No, we've checked everything what u mentioned and it's ok

hi @Anonymous 

If so, it should be that 'BC_AC_Eur'[BC_AC] is a datetime column and is not only 12:00:00, so although you have create the relationship between it with calendar table, by they couldn't have the corresponding value.

If not your case, please share your sample pbix file for us have a test.

 

Regards,

Lin

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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