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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
fist
Frequent Visitor

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.