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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors