Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
*Fruit-Ordered*
*Fruit-Sold*
*Fruit+Ordered*
I've brought this data in from Excel but I need to be able to create a measure in Power BI to create "Percentage" for the Total & also the "percentage" for the Products as well.
"Percentage Total"
"Percentage OF TOTAL"
I've already have a measure for the total of "Sold+Ordered" but having the issues with using "VAR" or "FILTERS" to create the measures for "PERCENTAGE OF THE TOTAL"
Any HELP would be awesome, I didn't explain this correctly the first time so hopefully I can get some answer.
Thank everyone
Solved! Go to Solution.
Hi @SteelChampzz,
You can use the following DAX formulas:
% = 'Table'[Amount]/SUM('Table'[Amount])
Index = RANKX('Table','Table'[Product],,ASC)
Total = SUMX('Table', IF('Table'[Index]<=EARLIER('Table'[Index]),'Table'[%],0))
Result:
Works for you? Mark this post as a solution if it does!
Hi @SteelChampzz,
You can use the following DAX formulas:
% = 'Table'[Amount]/SUM('Table'[Amount])
Index = RANKX('Table','Table'[Product],,ASC)
Total = SUMX('Table', IF('Table'[Index]<=EARLIER('Table'[Index]),'Table'[%],0))
Result:
Works for you? Mark this post as a solution if it does!
This defintely helped! Thank you, now my next question is this:
I have 2 tables that I've created these "new columns" in.
Table 1=Order
Table 2=Sold
I want to put "order+Sold" together to create the "Cumulative Total Percentage" for each Product.
How would I write that measure?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |