The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I'm using a sharepoint db that has about 70 columns and around 3000 rows long. I need to count the number of times each row has an entry with the word "Verified".
I tried wtih Progress = COUNTAX('TABLE', "Verified")
I've been searching on here for an hour and no luck. Seems like this would have been very simple in excel.
Site | Access | Directions | Equipment | Databases | Contractors | Progress |
Site1 | Verified | Verified | Incomplete | Verified | N/A | 3 |
Site2 | Verified | Verified | Verifed | N/A | N/A | 3 |
Site3 | Verified | Verified | Verified | Verified | Verified | 5 |
Solved! Go to Solution.
Hello @cjramsey22
In the query editor you can unpivot the other columns so you have [Site] [Attribut] [Value] then you can do a count of the lines where the value = "Verified"
In the query editor select the site column
Go to Transform
Unpivot Columns > Unpivot Other Columns
Verified Count =
CALCULATE(
COUNTROWS( 'Table' ),
KEEPFILTERS('Table'[Value] = "Verified")
)
Hello @cjramsey22
In the query editor you can unpivot the other columns so you have [Site] [Attribut] [Value] then you can do a count of the lines where the value = "Verified"
In the query editor select the site column
Go to Transform
Unpivot Columns > Unpivot Other Columns
Verified Count =
CALCULATE(
COUNTROWS( 'Table' ),
KEEPFILTERS('Table'[Value] = "Verified")
)
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
83 | |
68 | |
49 | |
46 |