The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I've got a measure that makes a percentage out of a slicer my measure looks like this:
Solved! Go to Solution.
Can you try using this measure =
Measure = CALCULATE(SUM('Table'[Money]),FILTER('Table','Money'[Person]=selectedvalue('Money'[Person]))) / CALCULATE(SUM('Table'[Money]), RemoveFilters('Money'[Person]))
Can you try using this measure =
Measure = CALCULATE(SUM('Table'[Money]),FILTER('Table','Money'[Person]=selectedvalue('Money'[Person]))) / CALCULATE(SUM('Table'[Money]), RemoveFilters('Money'[Person]))
this is it thank you so much
Hi,
Your person name filter would still be affecting the numerator and we are just removing its interaction with Total (Denominator)
Numerator = CALCULATE(SUM('Table'[Money]),FILTER('Table','Money'[Person]="Name")) -> which still filters the person name
Denominator = CALCULATE(SUM('Table'[Money]), RemoveFilters('Money'[Person])) -> This won't filter the person name and instead give Total value
Hi @dexter00000 ,
Can you try with the below measure formula -
Measure = CALCULATE(SUM('Table'[Money]),FILTER('Table','Money'[Person]="Name")) / CALCULATE(SUM('Table'[Money]), RemoveFilters('Money'[Person]))
Hope this helps!
Please accept the solution if this answers your query.
Thanks!
Avantika
but then i have to use the filter which i handpick person name i wanna be able to use the slicer to choose the person and then get their money and compare it to the total
instead of typing Person = "Name" by hand i want to use the slicer but that slicer effects the total sum too so i get 100%
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
79 | |
72 | |
48 | |
39 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
56 |