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.
You can try measures as below. See more details in the attached pbix file.
IsIncluded =
IF (
(
MIN ( 'calendar'[Date] ) >= MAX ( yourTable[Open date] )
&& MIN ( 'calendar'[Date] ) <= MAX ( yourTable[Close date] )
)
|| (
MAX ( 'calendar'[Date] ) >= MAX ( yourTable[Open date] )
&& MAX ( 'calendar'[Date] ) <= MAX ( yourTable[Close date] )
),
1,
BLANK()
)
includedRecords =
CALCULATE (
COUNTROWS ( yourTable ),
FILTER (
ALLSELECTED ( yourTable ),
(
MIN ( 'calendar'[Date] ) >= yourTable[Open date]
&& MIN ( 'calendar'[Date] ) <= yourTable[Close date]
)
|| (
MAX ( 'calendar'[Date] ) >= yourTable[Open date]
&& MAX ( 'calendar'[Date] ) <= yourTable[Close date]
)
)
)
You can try measures as below. See more details in the attached pbix file.
IsIncluded =
IF (
(
MIN ( 'calendar'[Date] ) >= MAX ( yourTable[Open date] )
&& MIN ( 'calendar'[Date] ) <= MAX ( yourTable[Close date] )
)
|| (
MAX ( 'calendar'[Date] ) >= MAX ( yourTable[Open date] )
&& MAX ( 'calendar'[Date] ) <= MAX ( yourTable[Close date] )
),
1,
BLANK()
)
includedRecords =
CALCULATE (
COUNTROWS ( yourTable ),
FILTER (
ALLSELECTED ( yourTable ),
(
MIN ( 'calendar'[Date] ) >= yourTable[Open date]
&& MIN ( 'calendar'[Date] ) <= yourTable[Close date]
)
|| (
MAX ( 'calendar'[Date] ) >= yourTable[Open date]
&& MAX ( 'calendar'[Date] ) <= yourTable[Close date]
)
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |