Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Greetings all
Below is some mocked up data which resembles the data I have. What I want to do is have a slicer with the unique predictors. When a user selects one of these predictors (the value of which I know I can capture using SELECTEDVALUE), I'd like to return all Index values and then dynamically filter the table for just those Index values.
Any thoughts?
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@dsdesrosiers . If slicer is an independent slice, You can create a switch based on value
Switch(True() ,
selectedvalues(Slicer[Value]) , "Product", calculate(Countx(Table[Index]), filter(Table, [predictors] in {1,3})) ,
Countx(Table[Index])
)
Plot it with other columns you need
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |