Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I need help please. I don't speak very good english (i'm French).
I have BLUE answer with DAX.
Thank you so much
Solved! Go to Solution.
It looks as though Repartation is a measure for you. This means you can do what I said above to make a second measure but your code would be:
Echantillion = Round(Repartition*21,0)
Or you can create a new column on your data table and make it:
Echantillion =Round(Repartition*21, 0) ---this will return a mesure that would show what you want once you drag it onto the table visual.
Hello,
Create a new measure that used the column Repartation. Here is what I wrote
Nb Echantillon = ROUNDUP([Nb Conforme DAP]*0.1,0)
Hello,
Can you help me ? please.
Have a nice day.
Thank you so much
But If i change 21 -> [Nb Echantillon], the result is not OK. It's strange 🤔
Can you help me ?
Is Nb Echantillion a column being summed or a measure? Please share the code if it has any. It is strange that the total is 21 even though the column olny adds up to 16 in the picture. I would try remaking the tabler from scratch AND checking to make sure that 'Nb Echantillion' is being used as a whole number of 21. There is a chance that 'Nb Echantillion' is being split by the architecture type.
Bonjour,
Ci joint l'accés au fichier source. Par avance, merci beaucoup.
A bientot.
The problem is that the Echantillon mini multiplies by the categories Echantillion. See below for what I mean:
You can see for each type it is using the Echantillion for that category to multiply by. You want to multiply by the total. I will play around with the code and get back to you!
OK, super. Merci beaucoup !
Okay. To make the count fixed for all categories use this code:
Thank you so much.
It's OK.
It looks as though Repartation is a measure for you. This means you can do what I said above to make a second measure but your code would be:
Echantillion = Round(Repartition*21,0)
Or you can create a new column on your data table and make it:
Echantillion =Round(Repartition*21, 0) ---this will return a mesure that would show what you want once you drag it onto the table visual.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 82 | |
| 72 | |
| 46 | |
| 35 |