cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Divide Measure doesnt works

Good evening, 

 

I have a problem with my measure : 

Here is my measure : 

MESURE NS =
DIVIDE (
CALCULATE (
SUM ( 'ACD - APPELS'[AppelTraite] );
FILTER ( ALLSELECTED ( 'ACD - APPELS' ); 'ACD - APPELS'[DureeAttente] <= 120 )
);
CALCULATE ( SUM ( 'ACD - APPELS'[AppelTraite] ); ALLSELECTED ( 'ACD - APPELS' ) );
0
)

 

I would like to use the KPI visualization
So I created a column Target 75% (format decimal number (percentage)

I put :
Actual value: Measure NS
Targert value: Target NS
Trand axis: Month creation

The result is strange:
My line is straight, which would mean that my NS is identical every month. But if I do the math, you will see for yourself that this is not the case.
Can you tell me where I was wrong?

 KPIMeasure.jpgSUMALLSELECTED.jpgSUMWITHFILTERS.jpg

 

11815/12300 = 0.9605

11038/11639 = 0.948

 

Thank you

 

2 REPLIES 2
Super User IV
Super User IV

Can you supply some sample source data so that we can recreate?


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Here is a link with a sample of datas

 

https://www.transfernow.net/502q313865bs

 

Thnak you for your help

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors