Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
Hey,
I'm not sure if I understand you requirements 100%, but as a 1st attempt I recommend to rewrite your existing measure a little:
LeaseFirmDate 2-3 months ago = var Date1 = DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), DAY ( TODAY () ) - 60 ) var Date2 = DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), DAY ( TODAY () ) - 90 ) var t = FILTER( Lease, Lease[LeaseFirmDate] < Date1 && Lease[LeaseFirmDate] > Date2 ) return SUMX( t ,Lease[Leases Count] )
if this does not work, can you please provide a pbix that contains sample data and represents your data model. Upload the file to onedrive or dropbox and share the link.
Regards,
Tom
Hey,
I'm not sure if I understand you requirements 100%, but as a 1st attempt I recommend to rewrite your existing measure a little:
LeaseFirmDate 2-3 months ago = var Date1 = DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), DAY ( TODAY () ) - 60 ) var Date2 = DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), DAY ( TODAY () ) - 90 ) var t = FILTER( Lease, Lease[LeaseFirmDate] < Date1 && Lease[LeaseFirmDate] > Date2 ) return SUMX( t ,Lease[Leases Count] )
if this does not work, can you please provide a pbix that contains sample data and represents your data model. Upload the file to onedrive or dropbox and share the link.
Regards,
Tom
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 167 | |
| 135 | |
| 120 | |
| 79 | |
| 53 |