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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.