Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am trying to compare each value of col1 and col2 , then display the total count of col1 where the values of col1 is greater than
col2, Kidly help me with the formula for this operation
Col1 | Col2 |
244.73 | 174.81 |
157.17 | 0 |
274.21 | 195.87 |
220.93 | 157.8 |
95.45 | 0 |
87.47 | 87.47 |
204.01 | 145.72 |
328.18 | 126.22 |
135.98 | 97.13 |
93.23 | 77.69 |
209.17 | 130.73 |
86.54 | 61.81 |
Thanks,
Ravi
Solved! Go to Solution.
Hi there, try adding a calcuated measure with the following formula. I have assumed your table is called Table2 (please change)
MyMeasure = CALCULATE( COUNTROWS('Table2'), FILTER( 'Table2', 'Table2'[Col1] > 'Table2'[Col2] ) )
Hi there, try adding a calcuated measure with the following formula. I have assumed your table is called Table2 (please change)
MyMeasure = CALCULATE( COUNTROWS('Table2'), FILTER( 'Table2', 'Table2'[Col1] > 'Table2'[Col2] ) )
Thanks Phil, it works!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |