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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Milozebre
Helper V
Helper V

same total for each row

Hello everyone,
I have a question.
I created a table with 2 Measures that work well.
I created a third one to calculate the percentage.
It works if I filter on a team but if I choose several, it gives me the same value.

Measure 1  :Nb Retour Enq EL EMEI Imhoweb BO = CALCULATE(DISTINCTCOUNT('Dossiers IWS'[IdAppel]);'Dossiers IWS'[LibelleAction] = "Avis Client"; 'Dossiers IWS'[YEAR_CLOTTECH] = YEAR(TODAY()))

Measure 2  : Nb Ticket EMEI Imhoweb = CALCULATE(DISTINCTCOUNT('Dossiers IWS'[IdAppel]); 'Dossiers IWS'[YEAR_CLOTTECH] = YEAR(TODAY()))

 

Q1.pngMeasure 3  :Taux de Retour global = [Nb Retour Enq EL EMEI Imhoweb BO]/[Nb Ticket EMEI Imhoweb]
Do you have an idea ?

 

I make a filter on Libelle_Equipe_Clôture

 

Thank you in advance for your help

 

1 ACCEPTED SOLUTION

@v-yuezhe-msft

 

Hello, 

 

thanks for the feedback.
I can't give an example of data. The tables are extremely heavy and result from SQL queries.
I deleted my file and started again. The measures are working now. I changed nothing. I don't know what happened.


thanks again

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Milozebre,

I am unable to reproduce your issue using the above DAX, please check my sample data in  the PBIX file below. We will appreciate that if you can share sample data of your table here.

https://1drv.ms/u/s!AhsotbnGu1NolA7q44_JY3Kg-r8I

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

Hello, 

 

thanks for the feedback.
I can't give an example of data. The tables are extremely heavy and result from SQL queries.
I deleted my file and started again. The measures are working now. I changed nothing. I don't know what happened.


thanks again

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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