Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
bourne2000
Helper V
Helper V

How to create a filter for today, yesterday, this week, this month?

Hi

 

I am having date table, sales, order, and other tables. All connected. I would like to create a filter with today, yesterday, this week, this month for my summary page.

 

Could you please advise how to do?

 

This is my date table

 

bourne2000_0-1622275854269.png

 

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @bourne2000 

I am not sure if I understood your question correctly.

Please check the below picture and the sample pbix file's link down below.

I tried to create a sample pbix file based on the explanation.

I suggest creating a slicer by using Tabular Editor in Power BI.

 

Picture1.png

 

https://www.dropbox.com/s/4r7p9pckj3oxhc5/bourne.pbix?dl=0 

 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

3 REPLIES 3
bourne2000
Helper V
Helper V

Hi @Jihwan_Kim 

 

Thanks, yes I am looking exactly the same. However, when I checked your pbix, I can't see any relationship between the date slicer with date and sales table. But, it's working fine. Can you please advise?

Hi, @bourne2000 

Thank you for your feedback.

The slicer table is made in Tabular Editor and it is a calculation group.

No need to connect with any other tables in the model.

Thank you.

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Jihwan_Kim
Super User
Super User

Hi, @bourne2000 

I am not sure if I understood your question correctly.

Please check the below picture and the sample pbix file's link down below.

I tried to create a sample pbix file based on the explanation.

I suggest creating a slicer by using Tabular Editor in Power BI.

 

Picture1.png

 

https://www.dropbox.com/s/4r7p9pckj3oxhc5/bourne.pbix?dl=0 

 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.