cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Need to filter Data for Last six weeks from current date

Hi Community,

I need to filter out Last 6 weeks data, but I am not getting Relative dates filter may be because of the formt of the field. The data is coming from cube so I cannot modify the column.

I have fields in below format :

27 July 2016 - Calender Date

20160703 - Fiscal Date

 

 Regards

Divya

4 REPLIES 4
az38
Community Champion
Community Champion

Hi @Anonymous 

try to create new calculated columns:

Calender Date Column = DATEVALUE(([Calender Date]))

and

Fiscal Date Column = date(left([Fiscal Date];4);MID([Fiscal Date];5;2);right([Fiscal Date];2))

then use them in visuals including sliders

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38  Thanks for the reply, Now the issue is when i am trying to convert the data type to Datevalue i cannot find the table field Calender date ,It show cannot find name. Any idea's on that

az38
Community Champion
Community Champion

@Anonymous
You wrote about field Calender date in the first post. So, you need to create calculate column in the same table as “Calender date” field

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

either Modify existing date column at cube level and change format to date or create new column with required data type.

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors