Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I want to add a a column to my table that is essentailly:
Column A Row Value / Sum(Column A)
But I need it to interact with a slicer so using a calculated column doesn't work because it calculates against the unfiltered sum as opposed to the slider filtered sum. I think I need to use a measure but I can't figure out how to get from a calculated column with the above formula to a measure that creates a column.
It feels like this should be really simple but I just cant seem to fomat it right
Solved! Go to Solution.
Measure = Selectedvalue([Column which i only want the single value]) / Calculate(sum([column A]),allselected([column A]))
Try this, we might be using different delimiters!
Measure = Selectedvalue([Column which i only want the single value]) / Calculate(sum([column A]);allselected([column A]))
Try this in a matrix with [Column which i only want the single value] first and then this measure
🙂
Thanks, that looks along the lines of what I want, only issue is that the error "The syntax for ';' is incorrect" displays so I can't submit the measure.
Measure = Selectedvalue([Column which i only want the single value]) / Calculate(sum([column A]),allselected([column A]))
Try this, we might be using different delimiters!
Spot on, works perfect, Thanks!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
101 | |
98 | |
97 | |
38 | |
37 |
User | Count |
---|---|
152 | |
121 | |
73 | |
71 | |
63 |