Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
Using PBID (March, 2024)
I created a measure to get max date from a column - works as expected
I added a calculated column to compare the measure to the order date in each row - but this is returning zero
Days From Max Date =
DATEDIFF( Data[Date], [Max Date], DAY )
What am I doing wrong?
Thanks,
-w
Thanks @amitchandak
I need a calculated column. My end goal is to have something I can filter for <= 6 (0 - 6) Or the most recent 7 days. Today function seems to be problematic when refreshing in the Service not returning expected results due to time zones etc....
Thanks,
-w
@tecumseh , if you are trying to create a column when Max Date is Measure. You can not use a measure or slicer value in a column
Create a measure like
Averagex(data,DATEDIFF( Data[Date], [Max Date], DAY ))
User | Count |
---|---|
92 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |