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.
Just started with PowerBI. Need to following Excel formula to measure different short codes in PowerBI.
=COUNTIF(A2;"*AI*")
=COUNTIF(A2;"*AR*")
EXCEPTION_NAME AI AR
AI,LS,MP,UPL,AR 1 1
AI,LS,MP 1 0
CW,AR 0 1
Solved! Go to Solution.
Hi @spaceuser
You may refer to below measure.
AI = CALCULATE ( COUNT ( Table1[EXCEPTION_NAME] ), FILTER ( Table1, SEARCH ( "AI", Table1[EXCEPTION_NAME], 1, 0 ) > 0 ) ) + 0
AR = CALCULATE(COUNT(Table1[EXCEPTION_NAME]),FILTER(Table1,SEARCH("AR",Table1[EXCEPTION_NAME],1,0)>0))+0
Regards,
Cherie
Hi @spaceuser
You may refer to below measure.
AI = CALCULATE ( COUNT ( Table1[EXCEPTION_NAME] ), FILTER ( Table1, SEARCH ( "AI", Table1[EXCEPTION_NAME], 1, 0 ) > 0 ) ) + 0
AR = CALCULATE(COUNT(Table1[EXCEPTION_NAME]),FILTER(Table1,SEARCH("AR",Table1[EXCEPTION_NAME],1,0)>0))+0
Regards,
Cherie
Several ways to do this, one way:
Measure AI = COUNTX(FILTER('Table',[AI]=1),[EXCEPTION_NAME]) Measure AR = COUNTX(FILTER('Table',[AR]=1),[EXCEPTION_NAME])
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 |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |