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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Milozebre
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
Greg_Deckler
Super User
Super User

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


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Here is a link with a sample of datas

 

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

 

Thnak you for your help

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors