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

IF DAX bug?

I may have ran into a bug with the DAX IF statement. The 2 expressions I used is: 

Aging = DATEDIFF('table'[Date reported]; 'table'[Date changed]; DAY)

30 Days = IF('DataSource'[Aging] > 29; 1; 0)

 

Unbenannt.PNG

1 ACCEPTED SOLUTION

Found out my problem and it was my mistake. Was due to a mixture 2-4 other columns and one of them being set to SUM rather than "Don't Summarize". Unfortunately I also couldn't reproduce it anymore either. 

View solution in original post

3 REPLIES 3

Found out my problem and it was my mistake. Was due to a mixture 2-4 other columns and one of them being set to SUM rather than "Don't Summarize". Unfortunately I also couldn't reproduce it anymore either. 

@powerbiuser101,

It seems that you have solved this issue, please mark your reply as answer to close this thread.

Regards,
Lydia

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

Could you provide an example .pbix file with the issue to test it?

 

Thanks.

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.