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 was trying to see how could get count of rows or the value of index column i have created for table. I have cummulative percentage column and i want to get count of row or index column value for the condition where cumulative percentage is less than or equal to 75%
Based on above data i want to get the value of index column or the count of rows for cumulative percentage (CUM_PT%) less than 75.0% . I have tried countrows and it always gives me the total number of rows
NumberOfBrokers = CALCULATE(COUNTROWS(BROKER_GROUP_INFO),BROKER_GROUP_INFO[CUM_PT%]<=75.0)
Appreciate any guidance.
Solved! Go to Solution.
Hi
Your formula looks good. I think the CUM_PT% colum is formatted to be displayed in percentage. The real value for the first row (11.6%) probably is 0.116. Therefore 75% would be 0.75. So, change your formula from 75 to 0.75 and you should be ready to go.
I hope my assumptions are correct.
JJ
hi, Cum_pt% is percentage so 75% is 0.75
NumberOfBrokers = CALCULATE(COUNTROWS(BROKER_GROUP_INFO),BROKER_GROUP_INFO[CUM_PT%]<=0.75)
hi, Cum_pt% is percentage so 75% is 0.75
NumberOfBrokers = CALCULATE(COUNTROWS(BROKER_GROUP_INFO),BROKER_GROUP_INFO[CUM_PT%]<=0.75)
Hi
Your formula looks good. I think the CUM_PT% colum is formatted to be displayed in percentage. The real value for the first row (11.6%) probably is 0.116. Therefore 75% would be 0.75. So, change your formula from 75 to 0.75 and you should be ready to go.
I hope my assumptions are correct.
JJ
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 | |
99 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |