Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
fist
Helper I
Helper I

Whole numbers and percentages when joining measurements with a slicer.

Whole numbers and percentages when joining measurements with a slicer.
Thursday
Hello community members, I use a combination of SELECTEDVALUE and SWITCH, to make a slicer, so far so good, the problem is that the measures are percentages and numbers, and when using the _KPIs measure or I select percentage or number. Do you know any way to solve this?

 

 

_KPIs =
var _Filtro = SELECTEDVALUE(Medidas_Filtro[Medida])
return
SWITCH(_Filtro, "# Answered", SUM(tb_CSR[# Answered]),
"AHT", SUM(tb_CSR[AHT]),
"% RCR", SUM(tb_CSR[% RCR]),
"% CSAT Response Rate", SUM(tb_CSR[% CSAT Response Rate]),
"% CSAT", SUM(tb_CSR[% CSAT]),
"% CRES Response Rate", SUM(tb_CSR[% CRES Response Rate]),
"% CRES", SUM(tb_CSR[% CRES]),
"% CES", SUM(tb_CSR[% CES]),
"% Abandoned Skill", SUM(tb_CSR[% Abandoned Skill]),
"% SLA", SUM(tb_CSR[% SLA]), "Selecciona un Filtro")

 

Thank you and greetings.

1 REPLY 1
JoeBarry
Solution Sage
Solution Sage

Hi @fist 

 

maybe this post will help you ? https://community.fabric.microsoft.com/t5/Desktop/DAX-FORMAT-value-based-on-slicer-selection/m-p/212...

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.