March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
hi all, I have a requirement where i have startdate and enddate of project in table1. now, i want to show display the dates between startdate and enddate in single slicer, so that i can filter projects come under those dates.. i tried by taking date and relating [date] from datetable to startdate in table1 and retreive the results...but in this case i'm missing based on enddate.. how can i sort this out..any solution ?? thanx in advance..
Solved! Go to Solution.
Hi @Anonymous ,
To create a measure as below. Please note here there is no ralationship between tables.
Measure = VAR maxd = MAX ( 'CALENDAR'[Date] ) VAR mind = MIN ( 'CALENDAR'[Date] ) VAR edate = MAX ( 'Table'[End date] ) VAR sdate = MAX ( 'Table'[Start date] ) RETURN IF ( maxd >= edate && mind <= sdate, 1, BLANK () )
Hi @Anonymous ,
To create a measure as below. Please note here there is no ralationship between tables.
Measure = VAR maxd = MAX ( 'CALENDAR'[Date] ) VAR mind = MIN ( 'CALENDAR'[Date] ) VAR edate = MAX ( 'Table'[End date] ) VAR sdate = MAX ( 'Table'[Start date] ) RETURN IF ( maxd >= edate && mind <= sdate, 1, BLANK () )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
81 | |
65 | |
54 | |
42 |
User | Count |
---|---|
197 | |
106 | |
94 | |
64 | |
54 |