Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
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
Hi all,
This is a line and stacked column visual I'm working on right now:
For the line values I've created three measures and given them the values 58, 61, and 67. Is there a way to create a slicer that will allow me to select a line measure value and have only the selected line display with the column values?
Thanks in advance!
Solved! Go to Solution.
You could create a table like this:
UI Compare Line = DataTable(
"Label", STRING,
"Value", INTEGER
,{
{"Keyword 1","61"},
{"Keyword 2","58"},
{"Keyword 3","67"}
}
)
Bind that Label field to your slicer.
Create a measure like this:
UI Compare Line Selected = max('UI Compare Line'[Value])Use the measure as the line value in your chart.
You could create a table like this:
UI Compare Line = DataTable(
"Label", STRING,
"Value", INTEGER
,{
{"Keyword 1","61"},
{"Keyword 2","58"},
{"Keyword 3","67"}
}
)
Bind that Label field to your slicer.
Create a measure like this:
UI Compare Line Selected = max('UI Compare Line'[Value])Use the measure as the line value in your chart.
@dani0010 Thanks! This makes sense, but how do I create a table in Power BI? I've only been importing them.
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 |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |