Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi good day,
Can someone help me on how can arrive on the result we required, Im not sure if this is possible. I have a table and I want to count the total E3 over the total number of Status No. per Trade per Area.
Table
DESIRED OUTPUT
Thank you
Solved! Go to Solution.
@AllanBerces If you had posted that data as text I would actually have been able to test this but here goes anyway:
Measure =
VAR __E3 = COUNTROWS( FILTER( 'Table', [Status] = "E3" ) )
VAR __Total = COUNTROWS( 'Table' )
VAR __Result = __E3 & "/" & __Total // or DIVIDE( __E3, __Total, 0 )
RETURN
__Result
Hi @AllanBerces
E3 Ratio Final = VAR e3Count = CALCULATE(COUNTROWS(StatusData), StatusData[Status] = "E3") VAR totalCount = COUNTROWS(StatusData) RETURN IF( ISBLANK(totalCount) || totalCount = 0, BLANK(), VAR displayNumerator = IF(ISBLANK(e3Count), 0, e3Count) RETURN displayNumerator & "/" & totalCount )
Hi @AllanBerces
E3 Ratio Final = VAR e3Count = CALCULATE(COUNTROWS(StatusData), StatusData[Status] = "E3") VAR totalCount = COUNTROWS(StatusData) RETURN IF( ISBLANK(totalCount) || totalCount = 0, BLANK(), VAR displayNumerator = IF(ISBLANK(e3Count), 0, e3Count) RETURN displayNumerator & "/" & totalCount )
@AllanBerces If you had posted that data as text I would actually have been able to test this but here goes anyway:
Measure =
VAR __E3 = COUNTROWS( FILTER( 'Table', [Status] = "E3" ) )
VAR __Total = COUNTROWS( 'Table' )
VAR __Result = __E3 & "/" & __Total // or DIVIDE( __E3, __Total, 0 )
RETURN
__Result
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
57 | |
36 | |
31 |
User | Count |
---|---|
91 | |
60 | |
60 | |
49 | |
45 |