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
Can a drop down of KPI be created in PBI? Think about a situation where a user wants to view a headcount, attrition rate & hires by location. Can the user switch between these measures using dropdown?
Solved! Go to Solution.
Hi @Abdult
If I understand the request correctly, you can:
1. Create a ancillary 1-column table, KPITable, with the names of the KPIs. Example:
KPI
Headcount
AttritionRate
Hires
2. Place KPITable[KPI] in a slicer. The user can selct here the desired KPI
3. Create the measures that will calculate each of the KPIs
[ Headcount_Measure ]
[ AttritionRate_Measure ]
[ Hires_Measure ]
4. Create a generic measure that will calculate the desired KPI based on the user's selection. Something like:
GenMeasure =
VAR selected_ =
SELECTEDVALUE ( KPITable[KPI] )
RETURN
SWITCH (
selected_,
"Headcount", [ Headcount_Measure ],
"AttritionRate", [ AttritionRate_Measure ],
"Hires", [ Hires_Measure ]
)
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @Abdult
If I understand the request correctly, you can:
1. Create a ancillary 1-column table, KPITable, with the names of the KPIs. Example:
KPI
Headcount
AttritionRate
Hires
2. Place KPITable[KPI] in a slicer. The user can selct here the desired KPI
3. Create the measures that will calculate each of the KPIs
[ Headcount_Measure ]
[ AttritionRate_Measure ]
[ Hires_Measure ]
4. Create a generic measure that will calculate the desired KPI based on the user's selection. Something like:
GenMeasure =
VAR selected_ =
SELECTEDVALUE ( KPITable[KPI] )
RETURN
SWITCH (
selected_,
"Headcount", [ Headcount_Measure ],
"AttritionRate", [ AttritionRate_Measure ],
"Hires", [ Hires_Measure ]
)
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
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 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 30 | |
| 26 | |
| 25 |