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

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
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.

Top Solution Authors