Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I want to filter a product List containing
for selected Date year slicer 2022,
and it should display only 2 Products
for selected Date year slicer 2023?
Put a filter on the product slicer to show only product that has any value in the data. Simply and works perfect!
eg. if you have a measure Sales = SUM(...) put it on product filter with condition that Sales is not blank 🙂
Proud to be a Super User!
Thanks for the reply.
That cant work. As Product C does contain data for 2023.
but by rule it should not be shown in 2023.
dim_product: (that is connected to fact_sales)
product_id, product_name etc.
dim_calendar (that is connected to fact_sales)
date, year, quarter ctc.
fact_product_dates (that is connected to dim_product with two directions)
product_id, year_start, year_end
Create a measure that checks if product from dim_product table and selected year is betweeen year_start and year_end and set 1 or 0 rule. Set filter on viz to 1. 🙂
Proud to be a Super User!
Hey @anish610
You need to have some date reference in your product table. For example, a created date. Somehow, you need to create a relationship between the products and the specific year to achive your goal.
Kind Regards,
Marcel
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |