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.
I need to use the number of months between the first date in a relative date slice and today.
So for this slicer I need the number 3
Solved! Go to Solution.
Hi @Mezmarianne,
Use a measure like this:
Number of months = DATEDIFF ( MIN ( Table[date] ); TODAY (); MONTH )
The column refered in Minimum function should be replace by the column on your slicer.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Mezmarianne,
Use a measure like this:
Number of months = DATEDIFF ( MIN ( Table[date] ); TODAY (); MONTH )
The column refered in Minimum function should be replace by the column on your slicer.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |