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
dk_24
Helper I
Helper I

Dynamic Six months data

Hi All,

 

How to get the last 6 months sales based on current selection .

 

suppose if i select 9-sep-2017 , i want to show apr2017,may2017,jun2017,jul2017,aug2017 and sept2017.

if i select Apr2017 data, i want to display six months back data dynamically(Nov2016,dec2016,jan2017,feb2017,mar2017,ap2017).

 

How to achive this?

 

thanks,

KD

1 ACCEPTED SOLUTION

@dk_24,

 

For this requirement, please refer to the link below to see my reply.

https://community.powerbi.com/t5/Desktop/Show-data-of-last-months-from-a-particular-month-filtering-...

 

Capture2.PNG

Capture3.PNG

 

Regards,

Charlie Liao

View solution in original post

4 REPLIES 4
BeemsC
Resolver III
Resolver III

Hello,

You can achieve this by relative date filtering.
The way you do this, is you drag your main data for dates to your visual level filter.
If the data allows it, you can then select Relative Date Filtering.
Here you can choose last 6 months / days / years , whatever you want.
Do be careful with filtering back a lot of months, since you will need to have a month + year column.
If you don't have this PowerBI will get confused since you will try to show several ''December''
If you can't find it tell me

Hi BeemsC,

 

Thanks for your responce, 

 

i am new to power BI .could you please post any screen shot or sample file, That would be really helpful to me.

@dk_24,

 

For this requirement, please refer to the link below to see my reply.

https://community.powerbi.com/t5/Desktop/Show-data-of-last-months-from-a-particular-month-filtering-...

 

Capture2.PNG

Capture3.PNG

 

Regards,

Charlie Liao

No problem,

In this example im filtering the last 10 months
My date column is called InvoiceDate:
voorbeeldig.png

 

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.