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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Cumulative measure with filters

Hi, I have a problem trying to generate a cumulative measure. I got it with this measure, that I'll explain:

AcumuladoSpeech =
var total = [CortadasSpeech]
return
sumx(filter(SUMMARIZE(ALLSELECTED('Speech Actual'),'Speech Actual'[Plataforma],'Speech Actual'[Callcenter],'Speech Actual'[Empleado],"_total",[CortadasSpeech]),[_total]>=total),[_total])
And this is the result:
Ej1.PNG
CutsSpeech ? count('Speech Actual'[ATR - Cut Calls])
As you can see, it works, but the problem is when I use the filters that are next to the table. The possible combinations of these filters are:
KONECTA -> POSTPAGO PEOPLE
SCC -> HOGAR
SCC-> POSTPAGO PERSONAS
This measure works if I filter only CALLCENTER or only PLATAFORMA, but when I do the combinations (specifically PLATAFORMA, which has values in KONECTA and also in SCC), this doesn't work, like this:
ej 2.PNG
Can anyone help me to make the cummulative measure work correctly with any of these filters?
Thank you very much for your attention.
1 REPLY 1
sanalytics
Solution Specialist
Solution Specialist

Hello @Syndicate_Admin 

 

Please provide some dummy data or pbix file so that we can try and help..Also if you clarify more your expected output that will be great..

 

Regards

sanalytics

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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