Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I would like to ask how I could divide total value from each line in visual. I mean to find percent of each quantity.
Here 496744,54 is total value I need delete total from each line value for example, 496,744.54/22 939.16 and so on. To get percent of total for each line. now I am getting 100 of each line it is not ok.
Hi @Analitika
You can use All function with your Sand Eur/ VNT measure while dividing. This will ignore the filter context from the matrix and gives you the total every time and then you can divide the same measure with the one which is using All. So it should show something like: Percentage = Divide ( ALL ( Sand Eur/VNT) , ( Sand Eur/VNT) , 0 )
Hi @Analitika
This DAX is what you need
total_per_eur_vnt = DIVIDE(SELECTEDVALUE('DataTable'[Sand Eur / VNT]), CALCULATE(SUM('DataTable'[Sand Eur / VNT]), (ALL('DataTable'))))
You need to divide the value for the line (using SELECTEDVALUE) by the total for the whole table.
Regards
Phil
Proud to be a Super User!
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 |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |