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

Select record based by Year refer to Date

Hi all

 

I would like to show data only for 2016.

But my data have record from 2014. I dont prefer to filter using Page level filters as the date from 2014 is more than 500++ and it's not really practical.

Kindly advise how can I filter my data to shown only date from 2016

bbb.png

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

Hi @aanmi,

Why not use Advanced filtering of the Page level filters? As shown in the following screenshots, you are able to set date value to 2016 and later.
2.PNG1.PNG



Thanks,
Lydia Zhang

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

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

Hi @aanmi,

Why not use Advanced filtering of the Page level filters? As shown in the following screenshots, you are able to set date value to 2016 and later.
2.PNG1.PNG



Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
CheenuSing
Community Champion
Community Champion

@aanmi

 

1. If you will never be displaying data from 2014 till 2015 Dec, it would be easier to skip those records while loading in the query.

 

Alternatively

2.   Do you have a calendar or date table in the data model?

3.  If so create a column called Show as

     Show = If ( CalendarTable[Year] >= 2016 , 1 , 0 )

     what this means is if the CalendarTable Year is >= 2016 then set Show as 1 else set Show as Zero.

4. In your chart , set the visual filter as Show Equals 1.

 

Try it out.

 

If this solves your issue please accept it as a Solution and also give KUDOS.

 

Cheers

 

CheenuSing 

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

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.