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.
Hi,
I am trying to get a column giving me the % of total sales per item. I am using a formula using =Divide([sum of sales],([sum of sales],all[list of items]). However if i filter the pivot for some specific item list, it keeps giving me the % of Total and not the filtered set.
Is there a way to have the formula work based on total filtered % ?
Thanks a lot
Solved! Go to Solution.
@Stephane5959
Replace your table names and field names.
Measure =
Divide(
[sum of sales],
CALCULATE(
[sum of sales],
ALLSELECTED([list of items])
)
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Stephane5959
Replace your table names and field names.
Measure =
Divide(
[sum of sales],
CALCULATE(
[sum of sales],
ALLSELECTED([list of items])
)
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you so much !