Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I'm looking for a measure for the follow issue.
I need the difference of total days between de exparation date and the selected date in the slicer.
In the model there's isn't an relationship between the tabels.
Solved! Go to Solution.
Try this MEASURE
= DATEDIFF ( SELECTEDVALUE ( Calendar[Date] ), SELECTEDVALUE ( Invoices[ExperationDate] ), DAY )
Try this MEASURE
= DATEDIFF ( SELECTEDVALUE ( Calendar[Date] ), SELECTEDVALUE ( Invoices[ExperationDate] ), DAY )
or this one
= VAR Start_Date = MIN ( SELECTEDVALUE ( Calendar[Date] ), SELECTEDVALUE ( Invoices[ExperationDate] ) ) VAR End_Date = MAX ( SELECTEDVALUE ( Calendar[Date] ), SELECTEDVALUE ( Invoices[ExperationDate] ) ) RETURN DATEDIFF ( Start_Date, End_Date, DAY )
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
87 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |