The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Current Scenario: Between date slicer is setting to specific date (lets suppose 1st jan to 1st march) on clicking CLEAR ALL button.
Requirement: If we check tomorrow i.e. 2nd march and do clear all then the date slicer should slide to 2nd march instead of 1st march ( 1st jan to 2nd march).
please advise.
Solved! Go to Solution.
Hello @bhavaniIntMaven,
Can you please try this:
IsWithinRange =
IF (
AND (
'DateTable'[Date] >= DATE(YEAR(NOW()) - 1, 1, 1),
'DateTable'[Date] <= NOW()
),
1,
0
)
Hello @bhavaniIntMaven,
Can you please try this:
IsWithinRange =
IF (
AND (
'DateTable'[Date] >= DATE(YEAR(NOW()) - 1, 1, 1),
'DateTable'[Date] <= NOW()
),
1,
0
)