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
Anonymous
Not applicable

Two Customer period slicers

Dear All,

 

How Do I create two slicers for a report but i can customised each slicer (period) whatever I like?say i have current period and previous period and I can adjust the length of the current and previous period whatever I like (they can be different time in length).

 

I tried the below but it did not work properly as my two slicers can only adjust the current period data not the previous period data.

 

https://www.sqlbi.com/articles/filtering-and-comparing-different-time-periods-with-power-bi/

 

thanks,

 

Peter

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

I also had tried as the article before, and it works well, there should be something wrong in other.

could you share your sample pbix file and expected output for us have a test?

Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Best Regards,

Lin 

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

Hi Lin,

 

I solved this out. However, I do not understand why in the manager relationships, we need to untick the active button between "Previous Date (Date)" and "Date (Date)". 

 

Is it becasue we use the formular "

     USERELATIONSHIP( 'Date'[Date], 'Previous Date'[Date] )"
 
Sorry I am not sure about the details about its logic.  Please explain if posisble. Also it seems we cannot attach excel file in the post?

 

Power BI.png

Anonymous
Not applicable

Hi Lin,

 

Sorry how Do I upload the files as I cannot see an attachment function?

 

Thanks in advance.

 

Peter

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.