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
asdf1608
Helper V
Helper V

to show the next 4 month properly

I have used a date field in slicer to show the next 4 months. But for this month it it taking the value from today only. not this month.

For Example: 

asdf1608_0-1681915119694.png

Here the start date is from 19/4/2023 not the start of this month.

The expected result is if next 4 months then from beginning of this month to the end of july.

How do I get this next 4 months properly in Power BI.

This is possible in tableau. For the next four month it shows this result

asdf1608_1-1681915309144.png

But this is not coming in power BI.

 

How do I achieve this in Power BI.

 

Help in this is needed. Thanks in advance

 

3 REPLIES 3
Wilson_
Memorable Member
Memorable Member

Hello,

 

Maybe not what you were looking for, but you could choose between instead of relative date for your slicer so users could enter 4/1/2023 to 7/31/2023 manually.

 

Power BI and Tableau have just taken two different approaches to the "next X months" selector; neither is necessarily wrong imo.


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)

@Wilson_ Thank you for your response.

But If I choose between it becomes manual change, which we have to change manually each and every time. But for relative date it is automatic.

I need this to be automatic and show for next 4 months starting from this month

Understandable. However, if you wanted it to be automatic, you would have to do that with DAX instead of the date slicer because that's just not how the relative date slicer works unfortunately.

 

Check out this comment in a different post. I found it by googling "relative date slicer power bi this month and next month".


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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