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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ccubs2331
Frequent Visitor

DAX formula

I have a table of accounts were is have a column Placed Date and a column Payment Date. I added a column and used a 

List to Payment Days = DATEDIFF(Debtor[Placed Date], Debtor[Payment date],DAY). I get the correct number from this. Now I am trying to see how many accounts have List to Payment Days greater than 30. I added a column and used 
List to Payment Days 30 = IF(SUM('Debtor'[List to Payment Days]) > 30, 1, 0). It is giving my a 1 on every account. I need to know were I went wrong.
 
Thank you
1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

HI @ccubs2331 ,

 

REmove SUM

 

List to Payment Days 30 = IF(Debtor'[List to Payment Days] > 30, 1, 0)

 

 

https://www.youtube.com/watch?v=03E0f-RyRn4

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

1 REPLY 1
harshnathani
Community Champion
Community Champion

HI @ccubs2331 ,

 

REmove SUM

 

List to Payment Days 30 = IF(Debtor'[List to Payment Days] > 30, 1, 0)

 

 

https://www.youtube.com/watch?v=03E0f-RyRn4

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.