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
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!

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!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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