Forum Discussion
Date filters for Visualization
- 6 months ago
Hi Tine82 ,
Instead of creating separate slicers for all dates, I've used a single date from Date table.
I've also created a separate date type table to use that in a slicer. now user can see the data by filtering date type from slicer. also check the measure "Sales by Selected Date" which is considering the date type selected.
See attached .pbix file, let me know if this is the solution you are looking for.
🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!
grazitti_sapna , the filter in your Solution does not work correct.
He only filtered by Order date .
We want to select a date field ( Order Date or Delivery Date or Loading Date) and filter all Data by that selected coloum
e.g when i set Date filter to 4.4.26
and select Order date = Show Customer E
Select Delivery Date = Show Customer B
Select Loading Date = Show Customer D
do you have here a soloution ?
Hi Tine82,
Just update this measure and it should work fine. Also attached updated .pbix solution.
- Tine826 months ago
Helper I
grazitti_sapna thanks for your quick reply, but the solution does not work for my data.
The filter works only for "Bestelldatum_date"
Can you please have a look into and check what I did wrong and send the corrected PBI back ?
How can i add my PBI Version here ?
Thank you so much and greetings from germanyTine82
- grazitti_sapna6 months ago
Super User
Hi Tine82,
The .pnix i provided earlier is filtering the data as per the date selection, I am not sure how you are doing it, would be better if you can share your version so i can take a look, or if you can share the sample dataset so that i can create a version with you sample data.
you cannot directly attach it to a post. Instead, upload the file to a cloud storage service (such as Onedrive, Google Drive, or Dropbox), ensure the link is shared publicly, and paste the URL into your post.
- Tine826 months ago
Helper I
Hi grazitti_sapna ,
here are our data.
When i select "Liefertermin_date" and Date on 20.4 the report shows only Orders with Bestelldatum 20.4. But we expected all Orders with Liefertermin 20.4 because filter is on LieferterminThanks
Sales_Org Distr_Ch CMLevel1 CMLevel2 Kunde Kundenauftragsnr Bestelldatum_date Verladetermin_date Liefertermin_date Artikel Bestellmenge_IT Liefermenge_IT Bestellmenge_Pal Liefermenge_Pal Bestellwert_GIV DE 50 Test DE Kunde 2 Kunde 2 78521 4/15/2026 4/17/2026 4/19/2026 A 20 20 2 2 15733.52 DE 50 Test DE Kunde 2 Kunde 2 97854 4/15/2026 4/17/2026 4/19/2026 C 20 20 2 2 10012.24 DE 50 Test DE Kunde 5 Kunde 5 3597 4/20/2026 4/22/2026 4/24/2026 C 10 0 1 0 15733.52 DE 50 Test DE Kunde 2 Kunde 2 89473 4/17/2026 4/19/2026 4/21/2026 A 30 10 3 1 10012.24 CH 50 Test CH Kunde 1 Kunde 1 12345 4/16/2026 4/18/2026 4/20/2026 A 10 5 1 0.5 10000 CH 50 Test CH Kunde 1 Kunde 1 12345 4/16/2026 4/18/2026 4/20/2026 B 30 30 3 3 6436.44 CH 50 Test CH Kunde 1 Kunde 1 12345 4/16/2026 4/18/2026 4/20/2026 C 20 20 2 2 10012.24 CH 50 Test CH Kunde 4 Kunde 4 2148 4/11/2026 4/13/2026 4/15/2026 B 10 5 1 0.5 125974 AT 50 Test AT Kunde 3 Kunde 3 98741 4/10/2026 4/12/2026 4/14/2026 B 30 30 3 3 6436.44 AT 50 Test AT Kunde 6 Kunde 6 8743 4/11/2026 4/13/2026 4/15/2026 A 20 20 2 2 6436.44