The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 !
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |