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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Power Bi filter not working in Online platform

Hi,
I am trying to put a relative date filter in my dashboard to show data for 1 month when it loads but also having an option to go back and select the desired date.

It is working completely fine in the desktop version that I am looking at only 1-month data but also having able to select any date to show the desired data but once I publish it online, I am able to see the applied date filter (showing 1-month data) but I am not able to select any other dates on that.

Idk why is this happening? It would be great if anyone can help. Thanks!

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, there is more flexibility to create MEASURE formulas and combine them with slicers.
Refer to the following.

Amount =
CALCULATE (
    SUM ( FactInternetSales[SalesAmount] ),
    FILTER (
        ALLEXCEPT ( M_DimDate, M_DimDate[Year] ),
        DATEADD ( M_DimDate[Date], -1, MONTH ) && SELECTEDVALUE ( M_DimDate[Year] )
    )
)

vhenrykmstf_0-1659095129233.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, there is more flexibility to create MEASURE formulas and combine them with slicers.
Refer to the following.

Amount =
CALCULATE (
    SUM ( FactInternetSales[SalesAmount] ),
    FILTER (
        ALLEXCEPT ( M_DimDate, M_DimDate[Year] ),
        DATEADD ( M_DimDate[Date], -1, MONTH ) && SELECTEDVALUE ( M_DimDate[Year] )
    )
)

vhenrykmstf_0-1659095129233.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , You have to build your own logic with the selected date and slicer

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-30/m-p/1284966#M561629

Need of an Independent Table in Power BI - Exclude: https://youtu.be/lOEW-YUrAbE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.