Forum Discussion
TBenders
9 years agoHelper II
Limit Endless X-Axis to date
Hi there, I have a couple of graphs which gets values from measure in the future. Because of this, graphs go on endlessly. My field of business is Recruitment and I have added formula-examples th...
- 9 years ago
Hi TBenders,
In this scenario, you can add a IF statement to tell if the date on X-Axis is less or equal that current date(TODAY()) first, then show the value you want accordingly. The formula below is for your reference.:smileyhappy:
Candidates Contacted = IF ( MAX ( CalendarDisconnected[Date] ) <= TODAY (); CALCULATE ( COUNTROWS ( FILTER ( 'Applications'; 'Applications'[Status] = "Contacted" ) ) ) + 0 )Regards
v-ljerr-msft
9 years agoMicrosoft Employee
Hi TBenders,
In this scenario, you can add a IF statement to tell if the date on X-Axis is less or equal that current date(TODAY()) first, then show the value you want accordingly. The formula below is for your reference.:smileyhappy:
Candidates Contacted =
IF (
MAX ( CalendarDisconnected[Date] ) <= TODAY ();
CALCULATE (
COUNTROWS ( FILTER ( 'Applications'; 'Applications'[Status] = "Contacted" ) )
)
+ 0
)Regards
TBenders
9 years agoHelper II
Thanks a lot!