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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I would like to distribute the % for each category of product. I did a selection for only the clients we are lost.
thanks!
Solved! Go to Solution.
That works! Thank you very so much ! So happy to get your help!
you should write a measure as follows:
measure percentage :=
var total = calculate (sum(diff) , all(table)) -- or you can use allselected based on what you expect
return
divide (diff, total)
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
Hello,
DIFF is a Measure to calculate the nomber of clients this year VS last year:
([Clients uniques Lub-Carb (présent dans un ou l'autre)]-[Clients uniques (Lub-Carb) same period]).
So in your formula it doesn't work. How to fix it?
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |