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.
Hi,
I apologize if this turns out be super banal; I'm still fairly new to Power BI. I tried to google this, but it's hard to put the problem into a pithy phrase.
I want to create an interactive report on the ratings of individual scenes of a TV show based on which character is in a scene. So my source data looks like this:
It's easy enough to slice the data for, say, the character of Clara alone. But I want to give people the option of clicking on "Clara" and "Bob" and then only be shown scenes Clara shared with Bob (i.e. scenes 1 and 4).
There are 28 characters, by the way, so solutions including 28 individual slicer visuals (if they exist) would not be practical.
How do I do this? Is there a way?
Thanks!
Solved! Go to Solution.
Hi, @bookhouseboy ;
You could unpivot columns expect [SceneNo] column.
1.unpivot it
2.create a slicer table.
slicer = SUMMARIZE('Table',[Attribute])
3.create a flag measure.
flag =
var _sli=SUMMARIZE('slicer',[Attribute])
var _tab=SUMMARIZE(FILTER(ALL('Table'),[Attribute] in _sli&& [Value] ="NO"),[SceneNo])
return IF(ISFILTERED(slicer[Attribute]),IF(MAX([SceneNo]) in _tab,0,1),1)
4.then creata a matrix then apply flag is "1" into visual.
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @bookhouseboy ;
You could unpivot columns expect [SceneNo] column.
1.unpivot it
2.create a slicer table.
slicer = SUMMARIZE('Table',[Attribute])
3.create a flag measure.
flag =
var _sli=SUMMARIZE('slicer',[Attribute])
var _tab=SUMMARIZE(FILTER(ALL('Table'),[Attribute] in _sli&& [Value] ="NO"),[SceneNo])
return IF(ISFILTERED(slicer[Attribute]),IF(MAX([SceneNo]) in _tab,0,1),1)
4.then creata a matrix then apply flag is "1" into visual.
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@bookhouseboy , I think it better to unpivot all these columns as row values and then create a slicer (multiple value slicer )
https://radacad.com/pivot-and-unpivot-with-power-bi
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
37 |