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.
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 () )
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |