Forum Discussion
Anonymous
7 years agoNot applicable
Create Filter for Model with 'Or' case
Hi,
I have q model with no meaures calculated.
I am needing to filter the date on this case
Filter whe cancellation.date is null OR cancellation.date > accounting date
How do i filter the entire model for this case?
Anonymous you can do it by adding a column either using power query or DAX and filter on that column
Add following measure using DAX
Filter Date = IF( Canellation[Date] == BLANK() || Canellation[Date] > Cancellation[AccountingDate], 1, 0 )
Now you can use Filter Date column in your report/page/visual level filter where value = 0
1 Reply
- parry2kSuper User
Anonymous you can do it by adding a column either using power query or DAX and filter on that column
Add following measure using DAX
Filter Date = IF( Canellation[Date] == BLANK() || Canellation[Date] > Cancellation[AccountingDate], 1, 0 )
Now you can use Filter Date column in your report/page/visual level filter where value = 0