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