Događaj
Svjetsko prvenstvo u Power BI DataViz
14. velj 16 - 31. ožu 16
Uz 4 šanse za prijavu, mogli biste osvojiti konferencijski paket i doći do LIVE Grand Finalea u Las Vegasu
Saznajte višeOvaj preglednik više nije podržan.
Prijeđite na Microsoft Edge, gdje vas čekaju najnovije značajke, sigurnosna ažuriranja i tehnička podrška.
APPLIES TO:
Power BI Desktop
Power BI service
With the relative date slicer or relative date filter, you can apply time-based filters to any date column in your data model. For example, you can use the relative date slicer to show only sales data from within the last 30 days (or month, calendar months, and so on). When you refresh the data, the relative time period automatically applies the appropriate relative date constraint.
If you want to share your report with a Power BI colleague, you both must have individual Power BI Pro licenses or the report must be saved in Premium capacity.
You can use the relative date slicer just like any other slicer. Create a Slicer visual for your report and then select a date value for the Field value. In the following image, we selected the Date field.
Select the slicer, and in the Format pane, under Visualizations > Slicer settings > Options, change the Style to Relative Date.
You can then select the settings in the date slicers.
For the first setting, you have the following choices:
In the second (middle) setting in the relative date slicer, you enter a number to define the relative date range.
In the third setting, you pick the date measurement. You have the following choices:
If you select Months from that list, and enter 2 in the middle setting, here's what happens:
If today is July 20:
In comparison, if you selected Months (Calendar), the visuals constrained would show data from May 1 through June 30 (the last two complete calendar months).
You can also create a relative date range filter for your report page or your entire report. To do so, drag a date field from the Fields pane into the Filters on this page well or the Filters on all pages well in the Filters pane:
Once there, you can change the relative date range. It's similar to how you can customize the relative date slicer. Select Relative date from the Filter type drop-down.
After you select Relative date, you see three sections to change under Show items when the value, including a middle numeric box, just like the slicer.
The following considerations and limitations currently apply to the relative date range slicer and filter.
Događaj
Svjetsko prvenstvo u Power BI DataViz
14. velj 16 - 31. ožu 16
Uz 4 šanse za prijavu, mogli biste osvojiti konferencijski paket i doći do LIVE Grand Finalea u Las Vegasu
Saznajte višeObuka
Modul
Configure Power BI report filters - Training
Report filtering is a complex topic because many techniques are available for filtering a Microsoft Power BI report. However, with complexity comes control, allowing you to design reports that meet requirements and expectations.
Certifikacija
Microsoft Certified: Power BI Data Analyst Associate - Certifications
Demonstrate methods and best practices that align with business and technical requirements for modeling, visualizing, and analyzing data with Microsoft Power BI.