Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
Is there a way to write a measure that would be the total of a specific field of data without its filter and without removing that filter, that is currently filtered? (sorry if that was confusing)
For example please see below.
The values in PercentRespTestNumerator are correct. However, I need all the values in New Denominator to equal the total of 674.75, 161 and 887. In that way, my other line (not shown) can calculate 674.75/sum , 161/sum, 887/sum, to give me a percentage.
Is this a way to do this? Thanks in advance.
Solved! Go to Solution.
Hi @Anonymous ,
I think you might want use ALLEXCEPT function or ALL function.
Here's a simple sample.
ALL function = CALCULATE(SUM('Table'[Value]),ALL('Table'))
ALLEXCEPT function = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[User]))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I think you might want use ALLEXCEPT function or ALL function.
Here's a simple sample.
ALL function = CALCULATE(SUM('Table'[Value]),ALL('Table'))
ALLEXCEPT function = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[User]))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , not very clear
Denominator =
calculate([PercentRespTestNumerator], allselected(Table))
Hi, in an attempt to be more clear. I have the following measure:
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |