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
powerbiuser101
Advocate I
Advocate I

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
powerbiuser101
Advocate I
Advocate I

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
powerbiuser101
Advocate I
Advocate I

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. 

Anonymous
Not applicable

@powerbiuser101,

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

Regards,
Lydia

javi0unavailabl
Resolver II
Resolver II

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

 

Thanks.

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