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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

I can't get my filter to show current date so I can have the visual show the currents date data

I can't get my filter to show current date so I can have the visual show the currents date data when refreshed daily. So I have a graph that shows targets met per month, I used a simple filter and manually selected the days to show on the visual, so now I want to add a filter that will show currents month data that will automatically change everyday showing the months progress everytime the data is refreshed. I don't want to manually open PBI to select current date on filter to show on the visual, I would like this to happen automatically. so in summary I would like to have this in one graph, I would like to have pre-selected dates(filtered dates - Sept,Oct,Nov) and one live data(that changes everytime when theres new data for December)

 

Donie_0-1640176544859.png

Donie_1-1640176577328.png

Donie_2-1640176607415.png

Donie_3-1640176627856.png

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You need to create a column like this in you date table and use that and save on this month

 

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)

 

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You need to create a column like this in you date table and use that and save on this month

 

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)

 

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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