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.
Hi,
I have a table, for illustration purpose, as below:
Product | Color | SalesDate |
Truck | Blue | 30-12-2023 |
Car | Green | 31-12-2023 |
Car | Red | 01-01-2024 |
Car | Blue | 02-01-2024 |
Scooter | Blue | 03-01-2024 |
Scooter | Green | 04-01-2024 |
My first slicer, "Product" has products that are sold in current month. So, for Jan '24, the values are 'Car' and 'Scooter'.
My second slicer, 'Color', should include the color specific for the selected product and date criteria. So, for product 'Car' and current month, my second slicer should show only 'red' and 'blue'. For product 'Scooter' and current month, my second slicer should show 'blue' and 'green'.
If there is no date criteria, my second slicer filters, based on value of the product from first slicer. How can I, using Dax, make the second slicer values, dependent on selected product from first slicer and 'date' criteria?
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file whether it suits your requirement.
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.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file whether it suits your requirement.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
44 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
70 | |
49 | |
45 | |
20 | |
16 |