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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Gwen
Helper II
Helper II

Matrice : appliquer une formule pour compter les valeurs et faire une somme au niveau du total

Gwen_2-1631886839770.png

Gwen_0-1631886446254.png

 
 
 
1 ACCEPTED SOLUTION
m3tr01d
Continued Contributor
Continued Contributor

Salut @Gwen,

Je suppose que ta colonne Groupe vient d'une table Client que tu as?
Tu pourrais utiliser cette mesure qui compte le nombre de clients qui ont un chiffre d'affaires plu grand que 0


NombreClientsMesure = 
COUNTROWS(
	FILTER(
		VALUES( 'Client'[Groupe] ),
		CALCULATE(
			SUM( 't_temporaire_CDR(2)'[CA PRESTA] )
		) > 0
	)
)


J'espère que ça va règler ton problème!

View solution in original post

5 REPLIES 5
Gwen
Helper II
Helper II

Thank you for your help

m3tr01d
Continued Contributor
Continued Contributor

Salut @Gwen,

Je suppose que ta colonne Groupe vient d'une table Client que tu as?
Tu pourrais utiliser cette mesure qui compte le nombre de clients qui ont un chiffre d'affaires plu grand que 0


NombreClientsMesure = 
COUNTROWS(
	FILTER(
		VALUES( 'Client'[Groupe] ),
		CALCULATE(
			SUM( 't_temporaire_CDR(2)'[CA PRESTA] )
		) > 0
	)
)


J'espère que ça va règler ton problème!

Hello,

Could you help me one more time please

I would like to add a filter to this formula to have the view by Business Unit :

the number of groups with a turnover >0 per business unit

Thank you for your answer 

Perfect ! 

VahidDM
Super User
Super User

Hi @Gwen 

 

I don't know French 🙂 and even could not copy your text to use google translate, but guessed that you have a problem with the total of your measure, so please read these posts which have been posted by @Greg_Deckler:

 https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/m-p/63376#M56

 

In French, thanks to google translate :

Je ne connais pas le français 🙂 et je n'ai même pas pu copier votre texte pour utiliser google translate, mais j'ai deviné que vous aviez un problème avec le total de votre mesure, alors s'il vous plaît lisez ces messages

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos✌️!!

 

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 MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.