Forum Discussion
Anonymous
5 years agoNot applicable
Days Difference between two dates in same column with duplicate dates in Power BI
I have a column with duplicate dates. I need to calculate date difference based on another column. For example, I have Stage column with 1,2,3... repeated values . What will be function I can use to...
- 5 years ago
Anonymous
maybe you can try this
measure=calculate(max(lastdate),allexcept(table,bomno))-calculate(min(lastdate),allexcept(table,bomno))
- Anonymous5 years ago
Thanks a lot. It worked for me...😊
ryan_mayu
5 years agoSuper User
Anonymous
pls provide some sample data and expected output.
Anonymous
5 years agoNot applicable
My sample data
So, I need days difference between first date and last date (in lastdate Column) based on bomno column.
Thanks in advance..