Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
arunquist
New Member

90 day filter

I am new to powerbi and not terribly filmilar with the columns vs. measures and formulas.  my issue is that I am looking to create a filter for rolling 90 day period.  Any help is appreciated I am stumpped...

 

EX: If column 1 = Event type then filter column 2 >90 days

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @arunquist,

 

Suppose your data table is like below:
4.PNG

 

To filter the fisrt table and get the second table, you should create a new table using formula as :

New Table =
CALCULATETABLE (
    '90 day filter',
    FILTER (
        '90 day filter',
        ( '90 day filter'[Column1] = "Event"
            && '90 day filter'[Column2] > 90 )
            || '90 day filter'[Column1] <> "Event"
    )
)

 

If I have something misunderstood, please share your sample data and provide more detailed description about your requirement, like a image of your expect result.

 

Thanks,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.