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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors