Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |