Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Un trying to use this measure and im getting the above error.
Column = IF('Table'[Delivery Date]<='Table'[Requested Delivery Date],"Yes","No")
I also tried Column = (Dates2[Date1] - Dates2[Date2])*1 And Days Between = DATESBETWEEN( 'Table'[Dates], 'Table'[Start Date], 'Table[End Date] ), that says cannot find column.
U also cant use Sum with dates.
Seconf dax is
Solved! Go to Solution.
Hi @Yrstruly1 ,
Column 2 = DATEDIFF(deliveries[promise_date],deliveries[delivered_date],DAY)
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Column 2 = DATEDIFF('Table'[Delivery Date],'Table'[Requested Delivery Date],DAY)
Im getting error "Invalid token
@Yrstruly1 , This you can create as a column not meaure
Column = IF('Table'[Delivery Date]<='Table'[Requested Delivery Date],"Yes","No")
measure can be
measure = sumx('Table, IF('Table'[Delivery Date]<='Table'[Requested Delivery Date],1,0))
measure = IF(min('Table'[Delivery Date])<=max(('Table'[Requested Delivery Date]),"Yes","No"), here row context is very important
Its not working. Would you be so kind and test it your side pls?
https://drive.google.com/file/d/1tSpCtPPLyYef7jJFJZI_0fK9HuubMcqR/view?usp=drivesdk
HI @Yrstruly1 ,
Column = IF(deliveries[delivered_date] <= deliveries[promise_date],"Yes","No")
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @Yrstruly1 ,
Column 2 = IF( DATEDIFF(deliveries[promise_date],deliveries[delivered_date],DAY) <=0 , "Yes", "No")
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
This is suppose to count the days, not give a yes or no.
Rolling Days 30 = Calculate([total sales] ,Datesbetweendates(dates[date])
maxx(dates[date]), - 30
Maxx(dates[date])))
Im getting errors for this code, pls assist?
Hi @Yrstruly1 ,
Column 2 = DATEDIFF(deliveries[promise_date],deliveries[delivered_date],DAY)
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
I meant
Column 2 = DATEDIFF('Table'[Delivery Date],'Table'[Requested Delivery Date],DAY)
How would you format this?
Did you use my data to create that, what was the issue?
How would i format this with the data i provided?
Column 2 = DATEDIFF('Table'[Delivery Date],'Table'[Requested Delivery Date],DAY)
Column 2 = DATEDIFF('Table'[Delivery Date],'Table'[Requested Delivery Date],DAY)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 7 | |
| 6 |