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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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 Supplier
Solution Supplier

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.