Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

How to fix a button whose selection for 'yes' disappears because of another box?

IN DIRECT QUERY MODE

I created two visuals for:

 

Is it Today = if(DATE(YEAR('SPROC Snapshot'[ONP Date]), MONTH('SPROC Snapshot'[ONP Date]), DAY('SPROC Snapshot'[ONP Date])) = Today(), "Yes", "No")
 
and
 
Is it Last 30days = if(DATE(YEAR('SPROC Snapshot'[ONP Date]), MONTH('SPROC Snapshot'[ONP Date]), DAY('SPROC Snapshot'[ONP Date])) >= Today()-30, "Yes", "No")
 
This filters all the data to the current date if I select yes.

 

This filters to last 30days if you click yes:

 

But for some reason if the button Last 30 days is clicked no,
The is it today box only shows the selection for No (Yes dissapears)????

If i click Last 30days? Yes, then the button for Is It today? Yes appears.

 

I'm not sure why this occurs, any help would be appreciated.

 

1 Reply