This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello everyone,
I would like to know if there is any way to create a dynamic page filter so that whenever someone opens my PowerBI web dashboard, all the charts automatically adapt to the current month's data?
Solved! Go to Solution.
yeah,
Drag your date to the Filters on to the all pages filters.
change to relative date> Show items when the values is in this month
yeah,
Drag your date to the Filters on to the all pages filters.
change to relative date> Show items when the values is in this month
Do I understand correctly that this solution would work only with Direct Query?
@Anonymous , have a column like this in your date table
Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
Select this month and save,
make sure is sorted on a column like
Format([Date],"YYYYMM")
Yes, add a calculated column to your table:
IsCurrentMonth =
IF (
YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
&& MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
"Yes",
"No"
)Then use this column as a page level filter: where IsCurrentMonth = "Yes"
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 22 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |